mirror of
https://github.com/nasa/openmct.git
synced 2025-05-11 13:03:03 +00:00
anytime a selection is updated, select the first (top priority) tab
This commit is contained in:
parent
5be103ea72
commit
0912f5fc10
@ -88,6 +88,8 @@ export default {
|
|||||||
showTab: view.showTab
|
showTab: view.showTab
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.selectTab(this.visibleTabs[0]);
|
||||||
},
|
},
|
||||||
isSelected(tab) {
|
isSelected(tab) {
|
||||||
return this.selectedTab?.key === tab.key;
|
return this.selectedTab?.key === tab.key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user