Skip to content

Commit

Permalink
Merge pull request #19015 from dannon/collection-elements-store-bug
Browse files Browse the repository at this point in the history
[24.1] Fix collectionElementsStore's hasLoadingCollectionElementsError computed.
  • Loading branch information
bgruening authored Oct 17, 2024
2 parents 666ab5e + 62e9b34 commit 1a6b7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/stores/collectionElementsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
});

Expand Down

0 comments on commit 1a6b7fe

Please sign in to comment.