mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
Enabled column reordering on table load (#2462)
This commit is contained in:
parent
7e50010463
commit
a34ad4e58c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user