Restored the default behaviour for tab switching when no switch checking fn is provided
This commit is contained in:
parent
a782a8b9b1
commit
b44a7fb288
|
@ -37,6 +37,10 @@
|
|||
dispatch("select", thisSelected)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
thisSelected = $tab.title
|
||||
selected = $tab.title
|
||||
dispatch("select", thisSelected)
|
||||
}
|
||||
if ($tab.title !== thisSelected) {
|
||||
tab.update(state => {
|
||||
|
|
Loading…
Reference in New Issue