chore: Minor fix

This commit is contained in:
iamsivin
2025-10-14 19:33:51 +05:30
parent fe24fe418b
commit b774912afe

View File

@@ -382,6 +382,7 @@ export default {
},
setTabFromRouteParam() {
const { tab: tabParam } = this.$route.params;
if (!tabParam) return;
const tabIndex = this.tabs.findIndex(tab => tab.key === tabParam);
this.selectedTabIndex = tabIndex === -1 ? 0 : tabIndex;