mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
fix(build): build errors
This commit is contained in:
@@ -11,7 +11,7 @@ class NoteContextAwareWidget extends BasicWidget {
|
||||
|
||||
protected noteContext?: NoteContext;
|
||||
|
||||
isNoteContext(ntxId: string) {
|
||||
isNoteContext(ntxId: string | null | undefined) {
|
||||
if (Array.isArray(ntxId)) {
|
||||
return this.noteContext && ntxId.includes(this.noteContext.ntxId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user