Skip to content

Commit

Permalink
Update vis augmenter eligibility fn to async (#938)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit f152d98)
  • Loading branch information
ohltyler authored and github-actions[bot] committed Nov 22, 2024
1 parent 6c10dcb commit 3bbf36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/action/ad_dashboard_action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 3bbf36a

Please sign in to comment.