Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
bugfix - directly remove unlinked items
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolarosa committed May 20, 2020
1 parent d95973f commit b86cafa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/CrateCreator/CrateParts/part-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ export function writeParts({ store, nodes }) {
});
}
}
if (
!existingDatasetIds.includes(dataset.uuid) && !dataset['@reverse']
) {
store.commit('removeFromGraph', dataset)
}
});

// create and link datasets
Expand Down

0 comments on commit b86cafa

Please sign in to comment.