mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 05:07:52 +00:00
enable alternatte control bar in telemetry tables for charles
This commit is contained in:
parent
35d1727dbf
commit
62774678a7
@ -51,6 +51,14 @@ define([
|
||||
view(domainObject, objectPath) {
|
||||
let table = new TelemetryTable(domainObject, openmct);
|
||||
let component;
|
||||
|
||||
let markingProp = {
|
||||
enable: true,
|
||||
useAlternateControlBar: true,
|
||||
rowName: 'Session',
|
||||
rowNamePlural: "Session's"
|
||||
};
|
||||
|
||||
return {
|
||||
show: function (element, editMode) {
|
||||
component = new Vue({
|
||||
@ -60,15 +68,16 @@ define([
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
isEditing: editMode
|
||||
}
|
||||
isEditing: editMode,
|
||||
markingProp
|
||||
};
|
||||
},
|
||||
provide: {
|
||||
openmct,
|
||||
table,
|
||||
objectPath
|
||||
},
|
||||
template: '<table-component :isEditing="isEditing" :marking="{enable: true}"/>'
|
||||
template: '<table-component :isEditing="isEditing" :marking="markingProp"/>'
|
||||
});
|
||||
},
|
||||
onEditModeChange(editMode) {
|
||||
|
Loading…
Reference in New Issue
Block a user