added button for entering workspace

This commit is contained in:
zadam
2020-11-29 22:32:31 +01:00
parent 1c5425c9eb
commit 2a6978c349
7 changed files with 55 additions and 34 deletions

View File

@@ -90,6 +90,14 @@ export default class Entrypoints extends Component {
}
}
async hoistNoteCommand({noteId}) {
const tabContext = appContext.tabManager.getActiveTabContext();
if (tabContext.hoistedNoteId !== noteId) {
await tabContext.setHoistedNoteId(noteId);
}
}
async unhoistCommand() {
const activeTabContext = appContext.tabManager.getActiveTabContext();