mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Fix default tab not being selected (#2733)
This commit is contained in:
parent
dffdcdaac0
commit
5f8e252fba
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export function useTabsProvider({
|
||||||
|
|
||||||
const hashTab = route.hash.replace(/^#/, '');
|
const hashTab = route.hash.replace(/^#/, '');
|
||||||
// eslint-disable-next-line no-param-reassign
|
// eslint-disable-next-line no-param-reassign
|
||||||
activeTab.value = hashTab ?? tabs.value[0].id;
|
activeTab.value = hashTab || tabs.value[0].id;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue