From b0caf46406408b8efe9223f10c411cf81872ef70 Mon Sep 17 00:00:00 2001 From: Pooja Belaramani Date: Fri, 21 Mar 2025 16:18:50 +0530 Subject: [PATCH] fix: request run crash --- .../Sidebar/Collections/Collection/CollectionItem/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js index 6201dc7c0..9b520f4a5 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js @@ -98,7 +98,7 @@ const CollectionItem = ({ item, collection, searchText }) => { }; const handleClick = (event) => { - if (event.detail != 1) return; + if (event && event.detail != 1) return; //scroll to the active tab setTimeout(scrollToTheActiveTab, 50);