mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
more tab row refactoring
This commit is contained in:
@@ -139,7 +139,7 @@ async function noteDeleted(noteId) {
|
||||
// not removing active even if it contains deleted note since that one will move to another note (handled by deletion logic)
|
||||
// and we would lose tab context state (e.g. sidebar visibility)
|
||||
if (!tc.isActive() && tc.notePath && tc.notePath.split("/").includes(noteId)) {
|
||||
await tabRow.removeTab(tc.$tab[0]);
|
||||
tabRow.removeTab(tc.tabId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user