enable alternatte control bar in telemetry tables for charles

This commit is contained in:
Deep Tailor 2020-02-28 11:04:34 -08:00
parent 35d1727dbf
commit 62774678a7

View File

@ -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) {