Fix: duplicate collection tabs

This commit is contained in:
naman-bruno
2025-02-11 14:02:34 +05:30
committed by Anoop M D
parent 7566d658d4
commit 4a613ed1b7
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ const CollectionToolBar = ({ collection }) => {
const viewCollectionSettings = () => {
dispatch(
addTab({
uid: uuid(),
uid: collection.uid,
collectionUid: collection.uid,
type: 'collection-settings'
})

View File

@@ -118,7 +118,7 @@ const Collection = ({ collection, searchText }) => {
const viewCollectionSettings = () => {
dispatch(
addTab({
uid: uuid(),
uid: collection.uid,
collectionUid: collection.uid,
type: 'collection-settings'
})