fix: wrong tab selected after navigating from different route (#3012)
This commit is contained in:
parent
522de45a62
commit
41fa3b5a8c
1 changed files with 0 additions and 3 deletions
|
|
@ -228,9 +228,6 @@ const removeTabEntry = (tabID: string) => {
|
|||
O.chain((index) => pipe(tabEntries.value, A.deleteAt(index))),
|
||||
O.getOrElseW(() => throwError(`Failed to remove tab entry: ${tabID}`))
|
||||
)
|
||||
// If we tried to remove the active tabEntries, switch to first tab entry
|
||||
if (props.modelValue === tabID)
|
||||
if (tabEntries.value.length > 0) selectTab(tabEntries.value[0][0])
|
||||
}
|
||||
const sortTabs = (e: {
|
||||
oldDraggableIndex: number
|
||||
|
|
|
|||
Loading…
Reference in a new issue