Skip to content

Commit c831bc1

Browse files
committed
Update vis augmenter eligibility fn to async
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
1 parent 14d152b commit c831bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/action/ad_dashboard_action.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const createADAction = ({
6666
embeddable.getInput()?.viewMode === 'view' &&
6767
isDashboard(embeddable.parent) &&
6868
vis !== undefined &&
69-
isEligibleForVisLayers(vis, getUISettings())
69+
await isEligibleForVisLayers(vis, getUISettings())
7070
);
7171
},
7272
execute: async ({ embeddable }: ActionContext) => {

0 commit comments

Comments
 (0)