feat(ui) - check for key
This commit is contained in:
parent
8756fd16da
commit
b54f8d1de3
1 changed files with 2 additions and 1 deletions
|
|
@ -358,7 +358,8 @@ export default class DashboardStore implements IDashboardSotre {
|
|||
const categories: any[] = []
|
||||
response.forEach(category => {
|
||||
const widgets: any[] = []
|
||||
category.widgets.forEach(widget => {
|
||||
// TODO speed_location is not supported yet
|
||||
category.widgets.filter(w => w.predefinedKey !== 'speed_location').forEach(widget => {
|
||||
const w = new Widget().fromJson(widget)
|
||||
widgets.push(w)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue