From 1e238ddd17439fd974a15dcff8e89a72b70e4c07 Mon Sep 17 00:00:00 2001 From: ralikio <74771103+ralikio@users.noreply.github.com> Date: Thu, 29 Aug 2024 14:00:40 +0200 Subject: [PATCH] Closing Panel on Selected Secret Change --- ui/src/components/ServiceInstancesView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/components/ServiceInstancesView.tsx b/ui/src/components/ServiceInstancesView.tsx index 39cce363c..dc4f0064e 100644 --- a/ui/src/components/ServiceInstancesView.tsx +++ b/ui/src/components/ServiceInstancesView.tsx @@ -28,6 +28,9 @@ function ServiceInstancesView(props: any) { // disable selection when page refresh is done setSelectedInstance(new ServiceInstance()); + // close side panel + setLayout(FCLLayout.OneColumn) + if (!Ok(props.setTitle)) { return; }