Skip to content

Commit

Permalink
fix(discover): disable cache only on indexPatterns.get to prevent c…
Browse files Browse the repository at this point in the history
…rash

Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 committed Aug 29, 2024
1 parent 1f4cbbb commit a9f84be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const updateSearchSource = async ({

const dataset =
indexPattern.id === queryDataset?.id
? await data.indexPatterns.get(queryDataset?.id!, true)
? await data.indexPatterns.get(queryDataset?.id!)
: indexPattern;

const sortForSearchSource = getSortForSearchSource(
Expand Down

0 comments on commit a9f84be

Please sign in to comment.