Commit 45a66fab authored by ibuler's avatar ibuler

[Update] 修改 login_to支持remote app

parent 6d1984f9
......@@ -52,6 +52,15 @@ export class ElementConnectComponent implements OnInit, OnDestroy {
}
}
);
this._http.getMyGrantedRemoteApps(login_to).subscribe(
nodes => {
if (nodes.length === 1) {
this.hasLoginTo = true;
const node = nodes[0];
this.Connect(node);
}
}
);
}
});
}
......
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