Fix metrics data not being consistent when configurator is updated
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
import base from './base'
|
||||
import numeral from 'numeral'
|
||||
import moment from 'moment'
|
||||
import { debounce } from 'lodash'
|
||||
import MetricItem from './Metric/Item'
|
||||
import { NoID, compose } from '@cortezaproject/corteza-js'
|
||||
import { evaluatePrefilter } from 'corteza-webapp-compose/src/lib/record-filter'
|
||||
@@ -75,6 +76,13 @@ export default {
|
||||
this.refresh()
|
||||
},
|
||||
},
|
||||
|
||||
options: {
|
||||
deep: true,
|
||||
handler: debounce(function () {
|
||||
this.refresh()
|
||||
}, 300),
|
||||
},
|
||||
},
|
||||
|
||||
mounted () {
|
||||
|
||||
Reference in New Issue
Block a user