fix(ui) - check for filter

This commit is contained in:
Shekar Siri 2023-02-02 12:59:26 +01:00 committed by Taha Yassine Kraiem
parent b02c4dcb80
commit 8267d43441

View file

@ -24,7 +24,7 @@ export default class FilterSeries {
fromJson(json) {
this.seriesId = json.seriesId
this.name = json.name
this.filter = new Filter().fromJson(json.filter)
this.filter = new Filter().fromJson(json.filter || { filters: [] })
return this
}