From 13363d7931c91f986a03a4dbf8492ea4e56b2c08 Mon Sep 17 00:00:00 2001 From: Bhavik Mehta Date: Fri, 12 Jun 2026 00:11:25 -0700 Subject: [PATCH] fix: show unsaved changes prompt when closing tab with Cmd+W (#8245) --- .../bruno-app/src/components/RequestTabs/RequestTab/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js b/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js index bd00be092..631dd33b0 100644 --- a/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js +++ b/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js @@ -206,7 +206,7 @@ const RequestTab = ({ tab, collection, tabIndex, collectionRequestTabs, folderUi // Close tab shortcut — draft-aware, only active for the focused tab useKeybinding('closeTab', () => { - if (tab.type === 'request' || tab.type === 'grpc-request' || tab.type === 'ws-request' || tab.type === 'graphql-request') { + if (tab.type === 'request' || tab.type === 'http-request' || tab.type === 'grpc-request' || tab.type === 'ws-request' || tab.type === 'graphql-request') { if (hasChanges) { setShowConfirmClose(true); } else {