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 b9adcb3 commit 4ebd373Copy full SHA for 4ebd373
src/renderer/views/Subscriptions/Subscriptions.js
@@ -96,7 +96,11 @@ export default defineComponent({
96
} else {
97
// Restore currentTab
98
const lastCurrentTabId = sessionStorage.getItem('Subscriptions/currentTab')
99
- if (lastCurrentTabId !== null) { this.changeTab(lastCurrentTabId) }
+ if (lastCurrentTabId !== null) {
100
+ this.changeTab(lastCurrentTabId)
101
+ } else if (!this.visibleTabs.includes(this.currentTab)) {
102
+ this.currentTab = this.visibleTabs[0]
103
+ }
104
}
105
},
106
methods: {
0 commit comments