From 62e9b34b426dd642da4961f765080e72b149dbf0 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 16 Oct 2024 21:03:59 -0400 Subject: [PATCH] Fix typo in hasLoadingCollectionElementsError computed property As it was, false was being used as an index instead of the fallback return. --- client/src/stores/collectionElementsStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; });