Commit 9f524f1e authored by ibuler's avatar ibuler

[Update] remote apps

parent 82a1f7d4
......@@ -73,8 +73,10 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
getGrantedRemoteApps() {
this._http.get_my_granted_remote_apps()
.subscribe(response => {
this.Data = [...this.Data, ...response];
this.draw();
if (response.length > 1) {
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