feat: ShowLeftbar bug fix

parent 75f77308
......@@ -46,6 +46,7 @@ export class CleftbarComponent implements OnInit {
clientX = 0;
clientY = 0;
TooltipPosition = 'above';
auto: boolean;
static Reload() {
}
......@@ -95,7 +96,9 @@ export class CleftbarComponent implements OnInit {
this._http.get_my_asset_groups_assets()
.subscribe(response => {
this.HostGroups = response;
this.autologin();
if (!this.auto) {
this.autologin();
}
});
}
......@@ -129,6 +132,7 @@ export class CleftbarComponent implements OnInit {
if (!tag) {
this._layer.alert('Maybe you do not have permission on that host');
}
this.auto = true;
}
Connect(host) {
......
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