Commit 9f524f1e authored by ibuler's avatar ibuler

[Update] remote apps

parent 82a1f7d4
...@@ -73,8 +73,10 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges { ...@@ -73,8 +73,10 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
getGrantedRemoteApps() { getGrantedRemoteApps() {
this._http.get_my_granted_remote_apps() this._http.get_my_granted_remote_apps()
.subscribe(response => { .subscribe(response => {
this.Data = [...this.Data, ...response]; if (response.length > 1) {
this.draw(); this.Data = [...this.Data, ...response];
this.draw();
}
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment