[TIP] fix indicator document not retrieved in cases view (#148451)

This commit is contained in:
Philippe Oberti 2023-01-09 18:34:33 +01:00 committed by GitHub
parent 6fd64ee078
commit f1a50f7f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,10 +33,8 @@ export const useIndicatorById = (indicatorId: string) => {
bool: {
must: [
{
term: {
_id: {
value: indicatorId,
},
ids: {
values: [indicatorId],
},
},
],
@ -44,7 +42,6 @@ export const useIndicatorById = (indicatorId: string) => {
};
const req = {
params: {
index: ['filebeat-*'],
body: {
query,
},