Command menu actions fixes (#9169)
- Fix command menu not closing after executing an action - Add delete and favorite actions to workflow and workflow versions
This commit is contained in:
@ -2,8 +2,8 @@ import { createContext } from 'react';
|
||||
|
||||
type ActionMenuContextType = {
|
||||
isInRightDrawer: boolean;
|
||||
onActionStartedCallback?: (action: { key: string }) => void;
|
||||
onActionExecutedCallback?: (action: { key: string }) => void;
|
||||
onActionStartedCallback?: (action: { key: string }) => Promise<void> | void;
|
||||
onActionExecutedCallback?: (action: { key: string }) => Promise<void> | void;
|
||||
};
|
||||
|
||||
export const ActionMenuContext = createContext<ActionMenuContextType>({
|
||||
|
||||
Reference in New Issue
Block a user