mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
delete attributes when deleting note
This commit is contained in:
@@ -79,6 +79,9 @@ async function importTar(file, parentNoteId) {
|
||||
const noteIdMap = {};
|
||||
|
||||
await importNotes(files, parentNoteId, noteIdMap);
|
||||
|
||||
// import might contain relations targeting notes which are not in the import
|
||||
await attributeService.removeInvalidRelations();
|
||||
}
|
||||
|
||||
function getFileName(name) {
|
||||
|
||||
Reference in New Issue
Block a user