improvements in frontend sync (WIP)

This commit is contained in:
zadam
2021-08-24 22:37:00 +02:00
parent 0ee093f038
commit d27fcaf317
6 changed files with 68 additions and 10924 deletions

View File

@@ -201,7 +201,7 @@ class NoteContext extends Component {
async entitiesReloadedEvent({loadResults}) {
if (loadResults.isNoteReloaded(this.noteId)) {
const note = await froca.getNote(this.noteId);
const note = loadResults.getEntity('notes', this.noteId);
if (note.isDeleted) {
this.noteId = null;