diff --git a/ui/src/layouts/Tabs.vue b/ui/src/layouts/Tabs.vue index 224aafcb..700cdb59 100644 --- a/ui/src/layouts/Tabs.vue +++ b/ui/src/layouts/Tabs.vue @@ -70,6 +70,14 @@ export default { WidgetGroup }, mixins: [Responsiveness], + beforeRouteEnter (to, from, next) { + next(vm => { + // Select the first tabsheet every time the user arrives on this page + if (vm.orderedGroups && vm.orderedGroups.length > 0) { + vm.tab = 0 + } + }) + }, data () { return { tab: 0