date notes respect their parent's isProtected status, #1483

This commit is contained in:
zadam
2020-12-21 23:00:39 +01:00
parent a1b2e22ba5
commit cc3addebd4
3 changed files with 12 additions and 11 deletions

View File

@@ -121,7 +121,7 @@ function exportToZip(taskContext, branch, format, res) {
type: note.type,
mime: note.mime,
// we don't export utcDateCreated and utcDateModified of any entity since that would be a bit misleading
attributes: (note.getOwnedAttributes()).map(attribute => ({
attributes: note.getOwnedAttributes().map(attribute => ({
type: attribute.type,
name: attribute.name,
value: attribute.value,