From 85155a634faa65b478ad2965e9428597f02dbf88 Mon Sep 17 00:00:00 2001 From: brendanlaschke Date: Wed, 30 Aug 2023 15:08:27 +0200 Subject: [PATCH] Fix view edit button (#1381) - fix view edit button as described --- .../ui/table/options/components/TableViewsDropdownButton.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/modules/ui/table/options/components/TableViewsDropdownButton.tsx b/front/src/modules/ui/table/options/components/TableViewsDropdownButton.tsx index beed828e08..0853ed5128 100644 --- a/front/src/modules/ui/table/options/components/TableViewsDropdownButton.tsx +++ b/front/src/modules/ui/table/options/components/TableViewsDropdownButton.tsx @@ -127,9 +127,10 @@ export const TableViewsDropdownButton = ({ (event: MouseEvent, viewId: string) => { event.stopPropagation(); setViewEditMode({ mode: 'edit', viewId }); + openOptionsDropdownButton(); setIsUnfolded(false); }, - [setViewEditMode], + [setViewEditMode, openOptionsDropdownButton], ); const handleDeleteViewButtonClick = useCallback(