Skip to content

Commit 1199ada

Browse files
committed
fix test
Signed-off-by: yyfamazon <yyf@amazon.com>
1 parent ecfaff2 commit 1199ada

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/plugins/ui_actions/public/actions/create_action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ export function createAction<T extends ActionType>(
4343
): ActionByType<T> {
4444
return {
4545
getIconType: () => undefined,
46+
getTooltip: () => '',
47+
isDisabled: () => false,
4648
order: 0,
4749
id: action.type,
4850
isCompatible: () => Promise.resolve(true),

src/plugins/ui_actions/public/context_menu/build_eui_context_menu_panels.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ export async function buildContextMenuForActions({
221221
_title: action.getDisplayName(context),
222222
});
223223
});
224-
225224
await Promise.all(promises);
226225

227226
// For each panel, sort items by order and title

0 commit comments

Comments
 (0)