We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96db0fb commit 760cef3Copy full SHA for 760cef3
webapp/src/components/CreateCollectionModal.vue
@@ -67,16 +67,21 @@ export default {
67
title: "",
68
selectedCollectionToCopy: null,
69
startingMembers: [],
70
+ takenCollectionIds: [],
71
};
72
},
73
computed: {
- takenCollectionIds() {
74
+ collectionIdsFromStore() {
75
return this.$store.state.collection_list
76
? this.$store.state.collection_list.map((x) => x.collection_id)
77
: [];
78
79
isValidEntryID() {
- return validateEntryID(this.collection_id, this.takenCollectionIds);
80
+ return validateEntryID(
81
+ this.collection_id,
82
+ this.takenCollectionIds,
83
+ this.collectionIdsFromStore,
84
+ );
85
86
87
methods: {
0 commit comments