mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix translation (#190504)
Not sure why CI didn't fail in the [main PR](https://github.com/elastic/kibana/pull/190031), but it did in the [backport](https://github.com/elastic/kibana/pull/190494) 🤔
This commit is contained in:
parent
f74d479014
commit
5ce361170c
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ export const validateKQLStringFilter = (value: string) => {
|
|||
});
|
||||
} catch (e) {
|
||||
return i18n.translate('xpack.observability.customThreshold.rule.schema.invalidFilterQuery', {
|
||||
defaultMessage: `filterQuery must be a valid KQL filter (error: ${e.message})`,
|
||||
defaultMessage: 'filterQuery must be a valid KQL filter (error: {errorMessage})',
|
||||
values: { errorMessage: e?.message },
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue