From 9b61d1fb9d40195e860013f03f179c9307b15542 Mon Sep 17 00:00:00 2001 From: Yeganathan S <63534555+skwowet@users.noreply.github.com> Date: Thu, 26 Feb 2026 19:47:38 +0530 Subject: [PATCH] fix: add unsaved changes confirmation for YAML modal close Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com> --- .../security/yaml/generate-yaml-modal.vue | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/modules/project/components/security/yaml/generate-yaml-modal.vue b/frontend/app/components/modules/project/components/security/yaml/generate-yaml-modal.vue index e97610d1..a4c55cb8 100644 --- a/frontend/app/components/modules/project/components/security/yaml/generate-yaml-modal.vue +++ b/frontend/app/components/modules/project/components/security/yaml/generate-yaml-modal.vue @@ -9,6 +9,7 @@ SPDX-License-Identifier: MIT height="900px" class="!justify-center" content-class="!h-full !overflow-hidden" + :close-function="confirmClose" >
@@ -21,7 +22,7 @@ SPDX-License-Identifier: MIT

Generate YAML security file