feat: omit active note tags from dropdown

This commit is contained in:
Antonella Sgarlatta
2021-05-24 17:22:54 -03:00
parent f23e4a4b44
commit b2d15be184
3 changed files with 18 additions and 5 deletions

View File

@@ -70,6 +70,10 @@ export class NotesState {
return this.application.editorGroup.editors[0];
}
get activeNote(): SNNote | undefined {
return this.activeEditor?.note;
}
get selectedNotesCount(): number {
return Object.keys(this.selectedNotes).length;
}