Merge pull request #10763 from Budibase/fix/restore-tab-switching-default

Fix tab switching default behaviour
This commit is contained in:
deanhannigan 2023-06-01 15:14:27 +01:00 committed by GitHub
commit f9a58b7917
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@
selected = $tab.title
dispatch("select", thisSelected)
}
} else {
thisSelected = $tab.title
selected = $tab.title
dispatch("select", thisSelected)
}
}
if ($tab.title !== thisSelected) {