mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 15:02:23 +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) {
|
view(domainObject, objectPath) {
|
||||||
let table = new TelemetryTable(domainObject, openmct);
|
let table = new TelemetryTable(domainObject, openmct);
|
||||||
let component;
|
let component;
|
||||||
|
|
||||||
|
let markingProp = {
|
||||||
|
enable: true,
|
||||||
|
useAlternateControlBar: true,
|
||||||
|
rowName: 'Session',
|
||||||
|
rowNamePlural: "Session's"
|
||||||
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
show: function (element, editMode) {
|
show: function (element, editMode) {
|
||||||
component = new Vue({
|
component = new Vue({
|
||||||
@ -60,15 +68,16 @@ define([
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isEditing: editMode
|
isEditing: editMode,
|
||||||
}
|
markingProp
|
||||||
|
};
|
||||||
},
|
},
|
||||||
provide: {
|
provide: {
|
||||||
openmct,
|
openmct,
|
||||||
table,
|
table,
|
||||||
objectPath
|
objectPath
|
||||||
},
|
},
|
||||||
template: '<table-component :isEditing="isEditing" :marking="{enable: true}"/>'
|
template: '<table-component :isEditing="isEditing" :marking="markingProp"/>'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onEditModeChange(editMode) {
|
onEditModeChange(editMode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user