Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fix: DIA-706: [FE] Action menu remains open when user select 'Find si…
Browse files Browse the repository at this point in the history
…milar option' (#283)
  • Loading branch information
yyassi-heartex authored Dec 12, 2023
1 parent b80e1ba commit 4b3dc54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/DataManager/Toolbar/ActionsButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export const ActionsButton = injector(observer(({ store, size, hasSelected, ...r
const submenuRef = useRef();
const onClick = useCallback((e) => {
e.preventDefault();
e.stopPropagation();
if (action.disabled) return;
action?.callback ? action?.callback(store.currentView?.selected?.snapshot, action) : invokeAction(action, isDeleteAction);
parentRef?.current?.close?.();
Expand Down

0 comments on commit 4b3dc54

Please sign in to comment.