mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
cleanup setting of utcDateCreated in branches and options code
This commit is contained in:
parent
e36bc42519
commit
83f125a79f
@ -136,9 +136,7 @@ class Branch extends AbstractEntity {
|
|||||||
notePosition: this.notePosition,
|
notePosition: this.notePosition,
|
||||||
isExpanded: this.isExpanded,
|
isExpanded: this.isExpanded,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
utcDateModified: this.utcDateModified,
|
utcDateModified: this.utcDateModified
|
||||||
// not used for anything, will be later dropped
|
|
||||||
utcDateCreated: dateUtils.utcNowDateTime()
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,9 +37,7 @@ class Option extends AbstractEntity {
|
|||||||
name: this.name,
|
name: this.name,
|
||||||
value: this.value,
|
value: this.value,
|
||||||
isSynced: this.isSynced,
|
isSynced: this.isSynced,
|
||||||
utcDateModified: this.utcDateModified,
|
utcDateModified: this.utcDateModified
|
||||||
// utcDateCreated is scheduled for removal so the value does not matter
|
|
||||||
utcDateCreated: dateUtils.utcNowDateTime()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user