Unverified Commit 104cf73c authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #71 from jumpserver/dev

[Update] RemoteApp根节点显示问题
parents 79d8cb2a 9f524f1e
......@@ -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