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