From 8795cdefca1aea6da581d366940928de16421d3e Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 1 May 2025 19:26:42 +0200 Subject: [PATCH] remove delete button when flow is in use (#38861) (#39396) partially fixes: #38145 Signed-off-by: Erik Jan de Wit (cherry picked from commit 21c0be3c6c874b230dc65f54cbdf643f33b36bb9) --- js/apps/admin-ui/src/authentication/FlowDetails.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/apps/admin-ui/src/authentication/FlowDetails.tsx b/js/apps/admin-ui/src/authentication/FlowDetails.tsx index cbb4ff66d81..b33c7218c1e 100644 --- a/js/apps/admin-ui/src/authentication/FlowDetails.tsx +++ b/js/apps/admin-ui/src/authentication/FlowDetails.tsx @@ -296,6 +296,10 @@ export default function FlowDetails() { > {t("editInfo")} , + ] + : []), + ...(!builtIn && !usedBy + ? [