fix toggling protected flag and display of the title

This commit is contained in:
zadam
2021-09-08 22:35:32 +02:00
parent 151687cd9b
commit 010f075ac5
4 changed files with 17 additions and 3 deletions

View File

@@ -25,6 +25,8 @@ async function processEntityChanges(entityChanges) {
loadResults.addNoteContent(ec.entityId, ec.sourceId);
} else if (ec.entityName === 'note_revisions') {
loadResults.addNoteRevision(ec.entityId, ec.noteId, ec.sourceId);
} else if (ec.entityName === 'note_revision_contents') {
// this should change only when toggling isProtected, ignore
} else if (ec.entityName === 'options') {
if (ec.entity.name === 'openTabs') {
continue; // only noise