Merge pull request #10763 from Budibase/fix/restore-tab-switching-default
Fix tab switching default behaviour
This commit is contained in:
commit
f9a58b7917
|
@ -36,6 +36,10 @@
|
||||||
selected = $tab.title
|
selected = $tab.title
|
||||||
dispatch("select", thisSelected)
|
dispatch("select", thisSelected)
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
thisSelected = $tab.title
|
||||||
|
selected = $tab.title
|
||||||
|
dispatch("select", thisSelected)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($tab.title !== thisSelected) {
|
if ($tab.title !== thisSelected) {
|
||||||
|
|
Loading…
Reference in New Issue