Skip to content

Commit

Permalink
[Lens] suppress missing index toasts (#150345)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdaemon authored Feb 6, 2023
1 parent 78947c4 commit ebc1bc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/plugins/lens/public/data_views_service/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ export async function loadIndexPatterns({
}
indexPatterns.push(
...(await Promise.all(
Object.values(adHocDataViews || {}).map((spec) => dataViews.create(spec))
Object.values(adHocDataViews || {}).map((spec) =>
dataViews.create({ ...spec, allowNoIndex: true })
)
))
);

Expand Down

0 comments on commit ebc1bc5

Please sign in to comment.