diff --git a/client/src/stores/collectionElementsStore.ts b/client/src/stores/collectionElementsStore.ts index 849ae75abe1a..e457dbd81559 100644 --- a/client/src/stores/collectionElementsStore.ts +++ b/client/src/stores/collectionElementsStore.ts @@ -66,7 +66,7 @@ export const useCollectionElementsStore = defineStore("collectionElementsStore", const hasLoadingCollectionElementsError = computed(() => { return (collection: CollectionEntry) => { - return loadingCollectionElementsErrors.value[getCollectionKey(collection) ?? false]; + return loadingCollectionElementsErrors.value[getCollectionKey(collection)] ?? false; }; });