1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

Restored the default behaviour for tab switching when no switch checking fn is provided

This commit is contained in:
Dean 2023-06-01 14:44:03 +01:00
parent a782a8b9b1
commit b44a7fb288

View file

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