From 6380797f92cc41386d30374a3473f8b08dbc7e8e Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Sun, 16 Oct 2022 14:40:43 +0530 Subject: [PATCH] fix: fixed bug where collection was not getting created --- .../src/providers/ReduxStore/slices/collections/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js b/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js index 62f2dd92..a33600e1 100644 --- a/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js +++ b/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js @@ -56,7 +56,7 @@ export const collectionsSlice = createSlice({ const collection = action.payload; collapseCollection(collection); addDepth(collection.items); - if(!collectionUids.includes(c.uid)) { + if(!collectionUids.includes(collection.uid)) { state.collections.push(collection); } },