mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
got rid of .isDeleted on froca entities (the property is not available there)
This commit is contained in:
@@ -241,9 +241,9 @@ class NoteContext extends Component {
|
||||
|
||||
async entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.isNoteReloaded(this.noteId)) {
|
||||
const note = loadResults.getEntityRow('notes', this.noteId);
|
||||
const noteRow = loadResults.getEntityRow('notes', this.noteId);
|
||||
|
||||
if (note.isDeleted) {
|
||||
if (noteRow.isDeleted) {
|
||||
this.noteId = null;
|
||||
this.notePath = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user