fix(build): build errors

This commit is contained in:
Elian Doran
2025-01-07 14:58:19 +02:00
parent dafebc4aae
commit c1ea1fd608
4 changed files with 5 additions and 4 deletions

View File

@@ -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);
}