mirror of
https://github.com/nasa/openmct.git
synced 2025-03-24 21:15:55 +00:00
saving sort and timeframe config (#4701)
This commit is contained in:
parent
b3ab56cb57
commit
3f575f0ec0
@ -175,7 +175,7 @@ export default {
|
||||
focusEntryId: null,
|
||||
search: '',
|
||||
searchResults: [],
|
||||
showTime: 0,
|
||||
showTime: this.domainObject.configuration.showTime || 0,
|
||||
showNav: false,
|
||||
sidebarCoversEntries: false
|
||||
};
|
||||
@ -239,6 +239,12 @@ export default {
|
||||
watch: {
|
||||
search() {
|
||||
this.getSearchResults();
|
||||
},
|
||||
defaultSort() {
|
||||
mutateObject(this.openmct, this.domainObject, 'configuration.defaultSort', this.defaultSort);
|
||||
},
|
||||
showTime() {
|
||||
mutateObject(this.openmct, this.domainObject, 'configuration.showTime', this.showTime);
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user