From c831bc1e56acbdbc6556bcf7c8d4600a7ae14a40 Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Fri, 22 Nov 2024 13:50:07 -0800 Subject: [PATCH] Update vis augmenter eligibility fn to async Signed-off-by: Tyler Ohlsen --- public/action/ad_dashboard_action.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {