mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
fix closing all tabs except current
This commit is contained in:
@@ -227,8 +227,8 @@ export default class TabManager extends Component {
|
||||
if (this.tabContexts.length <= 1) {
|
||||
this.openAndActivateEmptyTab();
|
||||
}
|
||||
else {
|
||||
this.activateNextTabEvent();
|
||||
else if (tabContextToRemove.isActive()) {
|
||||
this.activateNextTabCommand();
|
||||
}
|
||||
|
||||
this.children = this.children.filter(tc => tc.tabId !== tabId);
|
||||
|
||||
Reference in New Issue
Block a user