feat(ui) - custom metrics
This commit is contained in:
parent
534a9be0eb
commit
84f05f7bca
3 changed files with 4 additions and 1 deletions
|
|
@ -28,6 +28,8 @@ function SaveSearchModal(props: Props) {
|
|||
});
|
||||
}
|
||||
|
||||
console.log('filter', filter)
|
||||
|
||||
return (
|
||||
<Modal size="tiny" open={ show }>
|
||||
<Modal.Header className={ stl.modalHeader }>
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ export function save(instance) {
|
|||
types: SAVE.array,
|
||||
call: client => client.post('/saved_search', {
|
||||
name: instance.name,
|
||||
filter: instance.filter.toSaveData(),
|
||||
filter: instance.toSaveData(),
|
||||
}),
|
||||
instance,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ const babelLoader = {
|
|||
],
|
||||
plugins: [
|
||||
"@babel/plugin-syntax-bigint",
|
||||
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
|
||||
[ '@babel/plugin-proposal-decorators', { legacy: true } ],
|
||||
[ '@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
[ '@babel/plugin-proposal-private-methods', { loose: true }],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue