fix(ui) - widget data set
This commit is contained in:
parent
767d2f6f0c
commit
71c4012e97
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ export default class Widget {
|
|||
}
|
||||
|
||||
setData(data: any, period: any) {
|
||||
const _data: any = {};
|
||||
const _data: any = { ...data };
|
||||
|
||||
if (this.metricOf === FilterKey.ERRORS) {
|
||||
_data['errors'] = data.errors.map((s: any) => new Error().fromJSON(s));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue