diff --git a/public/action/ad_dashboard_action.tsx b/public/action/ad_dashboard_action.tsx index 2cde952b..06f99c7e 100644 --- a/public/action/ad_dashboard_action.tsx +++ b/public/action/ad_dashboard_action.tsx @@ -66,7 +66,7 @@ export const createADAction = ({ embeddable.getInput()?.viewMode === 'view' && isDashboard(embeddable.parent) && vis !== undefined && - isEligibleForVisLayers(vis, getUISettings()) + await isEligibleForVisLayers(vis, getUISettings()) ); }, execute: async ({ embeddable }: ActionContext) => {