fixes for extra window

This commit is contained in:
zadam
2020-04-26 23:11:52 +02:00
parent 7ea53d468e
commit 907cdd8fcb
5 changed files with 17 additions and 3 deletions

View File

@@ -322,6 +322,14 @@ export default class TabManager extends Component {
}
}
moveTabToNewWindowCommand({tabId}) {
const notePath = this.getTabContextById(tabId).notePath;
this.removeTab(tabId);
appContext.openInNewWindow(notePath);
}
async hoistedNoteChangedEvent({hoistedNoteId}) {
if (hoistedNoteId === 'root') {
return;