fix
This commit is contained in:
parent
79d12d1ceb
commit
de956d8dee
|
|
@ -195,7 +195,7 @@ export class NoteManager {
|
||||||
} else {
|
} else {
|
||||||
if (this.isDebuggerEnabled) console.log('NoteManager: get note (cached)', id, this.notesComputed.get(id), this.notesSource.get(id)?.value);
|
if (this.isDebuggerEnabled) console.log('NoteManager: get note (cached)', id, this.notesComputed.get(id), this.notesSource.get(id)?.value);
|
||||||
}
|
}
|
||||||
return computed(() => this.notesComputed.get(id)!.value);
|
return computed(() => this.notesComputed.get(id)?.value ?? null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue