From 89b11149bfbf31dbd65ea6b11e656577544b2bd3 Mon Sep 17 00:00:00 2001 From: lohxt1 Date: Thu, 14 Nov 2024 10:56:15 +0530 Subject: [PATCH] fix: updates --- .../Collection/CollectionItem/RenameCollectionItem/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/RenameCollectionItem/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/RenameCollectionItem/index.js index c265dfc84..206a12c29 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/RenameCollectionItem/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/RenameCollectionItem/index.js @@ -43,7 +43,7 @@ const RenameCollectionItem = ({ collection, item, onClose }) => { onSubmit: async (values) => { // if there is unsaved changes in the request, // save them before renaming the request - if ((item.name === values.name) && (itemFilename === values.filename) { + if ((item.name === values.name) && (itemFilename === values.filename)) { return; } if (!isFolder && item.draft) {