Enabled column reordering on table load (#2462)

This commit is contained in:
Andrew Henry 2019-08-29 19:18:55 -07:00 committed by Pegah Sarram
parent 7e50010463
commit a34ad4e58c

View File

@ -52,11 +52,11 @@ define([
let table = new TelemetryTable(domainObject, openmct);
let component;
return {
show: function (element, isEditing) {
show: function (element, editMode) {
component = new Vue({
data() {
return {
isEditing: false
isEditing: editMode
}
},
components: {
@ -71,8 +71,8 @@ define([
template: '<table-component :isEditing="isEditing" :enableMarking="true"></table-component>'
});
},
onEditModeChange(isEditing) {
component.isEditing = isEditing;
onEditModeChange(editMode) {
component.isEditing = editMode;
},
onClearData() {
table.refreshData();