mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
#98, sync to server now works as well + a lot of related changes
This commit is contained in:
@@ -109,7 +109,7 @@ async function updateNoteReordering(entityId, entity, sourceId) {
|
||||
async function updateOptions(entity, sourceId) {
|
||||
const orig = await sql.getRowOrNull("SELECT * FROM options WHERE name = ?", [entity.name]);
|
||||
|
||||
if (!orig.isSynced) {
|
||||
if (orig && !orig.isSynced) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user