diff --git a/packages/kbn-es-query/src/filters/helpers/only_disabled.ts b/packages/kbn-es-query/src/filters/helpers/only_disabled.ts index 73ffc146bae88..344459f15fac1 100644 --- a/packages/kbn-es-query/src/filters/helpers/only_disabled.ts +++ b/packages/kbn-es-query/src/filters/helpers/only_disabled.ts @@ -18,7 +18,11 @@ const isEnabled = (f: Filter) => f && f.meta && !f.meta.disabled; * * @public */ -export const onlyDisabledFiltersChanged = (newFilters?: Filter[], oldFilters?: Filter[], comparatorOptions?: FilterCompareOptions = COMPARE_ALL_OPTIONS) => { +export const onlyDisabledFiltersChanged = ( + newFilters?: Filter[], + oldFilters?: Filter[], + comparatorOptions?: FilterCompareOptions = COMPARE_ALL_OPTIONS +) => { // If it's the same - compare only enabled filters const newEnabledFilters = filter(newFilters || [], isEnabled); const oldEnabledFilters = filter(oldFilters || [], isEnabled);