We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4494b77 commit af06cd7Copy full SHA for af06cd7
src/components/rightSidePanel/RightSidePanel.vue
@@ -85,8 +85,11 @@ const tabs = computed<RightSidePanelTabList>(() => {
85
86
// Use global state for activeTab and ensure it's valid
87
watchEffect(() => {
88
- if (!tabs.value.some((tab) => tab.value === activeTab.value)) {
89
- activeTab.value = tabs.value[0].value as 'parameters' | 'settings' | 'info'
+ if (
+ !tabs.value.some((tab) => tab.value === activeTab.value) &&
90
+ !(activeTab.value === 'subgraph' && isSubgraphNode.value)
91
+ ) {
92
+ rightSidePanelStore.openPanel(tabs.value[0].value)
93
}
94
})
95
</script>
0 commit comments