mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
added button for entering workspace
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user