note titles in jump to note start from hoisted note instead of root

This commit is contained in:
azivner
2018-12-13 21:18:35 +01:00
parent 6c16cdb011
commit b774d56cf7
4 changed files with 44 additions and 13 deletions

View File

@@ -94,9 +94,10 @@ async function updateEntity(entity) {
const primaryKey = entity[primaryKeyName];
if (entity.isChanged && (entityName !== 'options' || entity.isSynced)) {
await syncTableService.addEntitySync(entityName, primaryKey);
if (entity.isChanged) {
if (entityName !== 'options' || entity.isSynced) {
await syncTableService.addEntitySync(entityName, primaryKey);
}
if (!cls.isEntityEventsDisabled()) {
const eventPayload = {