delete attributes when deleting note

This commit is contained in:
azivner
2018-08-15 15:27:22 +02:00
parent 3204291463
commit 4513651e12
5 changed files with 35 additions and 2 deletions

View File

@@ -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) {