From 3c4b981674fb9483a63babc07229138076f04002 Mon Sep 17 00:00:00 2001 From: Ronald Langeveld Date: Fri, 5 Jan 2024 12:53:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20outside=20click=20exitin?= =?UTF-8?q?g=20Code=20Injection=20modal=20(#19424)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - fixed a bug causing the full screen code injection to close when clicking out side of it, which could cause the loss of unsaved changes. --- .../src/components/settings/advanced/code/CodeModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/admin-x-settings/src/components/settings/advanced/code/CodeModal.tsx b/apps/admin-x-settings/src/components/settings/advanced/code/CodeModal.tsx index d8094d9575..72e687166d 100644 --- a/apps/admin-x-settings/src/components/settings/advanced/code/CodeModal.tsx +++ b/apps/admin-x-settings/src/components/settings/advanced/code/CodeModal.tsx @@ -65,6 +65,7 @@ const CodeModal: React.FC = ({afterClose}) => { return } height='full'