Update dashboard.ts
This commit is contained in:
parent
4f1a476c65
commit
27641279b4
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ export default class Dashboard implements IDashboard {
|
|||
runInAction(() => {
|
||||
this.dashboardId = json.dashboardId
|
||||
this.name = json.name
|
||||
this.description = json.description
|
||||
this.isPublic = json.isPublic
|
||||
this.isPinned = json.isPinned
|
||||
this.widgets = json.widgets ? json.widgets.map(w => new Widget().fromJson(w)).sort((a, b) => a.position - b.position) : []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue