From db9ce4b7f0e3362bf6097344e0e252937cf7d99c Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:54:25 -0800 Subject: [PATCH] Update vis augmenter eligibility fn to async (#938) (#939) Signed-off-by: Tyler Ohlsen (cherry picked from commit f152d98c0f49915bace7c28537fcdb6d8d6bacfb) Co-authored-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) => {