1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Minor changes

This commit is contained in:
Laurent Cozic
2017-07-14 18:02:45 +00:00
parent 2142c4aaf0
commit 4dc540e589
6 changed files with 21 additions and 4 deletions

View File

@ -46,6 +46,11 @@ class Synchronizer {
line.push(action);
line.push(reason);
let type = local && local.type_ ? local.type_ : null;
if (!type) type = remote && remote.type_ ? remote.type_ : null;
if (type) line.push(BaseItem.modelTypeToClassName(type));
if (local) {
let s = [];
s.push(local.id);