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