Skip to content

Commit

Permalink
anytime a selection is updated, select the first (top priority) tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jvigliotta committed Jan 7, 2025
1 parent 5be103e commit 0912f5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/inspector/InspectorTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export default {
showTab: view.showTab
};
});

this.selectTab(this.visibleTabs[0]);
},
isSelected(tab) {
return this.selectedTab?.key === tab.key;
Expand Down

0 comments on commit 0912f5f

Please sign in to comment.