mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
rename loadresults methods/properties for clarity that they don't contain entities, only rows
This commit is contained in:
@@ -262,7 +262,7 @@ function processAttachment(loadResults, ec) {
|
||||
note.attachments = note.attachments.filter(att => att.attachmentId !== attachment.attachmentId);
|
||||
}
|
||||
|
||||
loadResults.addAttachment(ec.entity);
|
||||
loadResults.addAttachmentRow(ec.entity);
|
||||
|
||||
delete froca.attachments[ec.entityId];
|
||||
}
|
||||
@@ -280,7 +280,7 @@ function processAttachment(loadResults, ec) {
|
||||
}
|
||||
}
|
||||
|
||||
loadResults.addAttachment(ec.entity);
|
||||
loadResults.addAttachmentRow(ec.entity);
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user