Network menu design updates.

This commit is contained in:
softsimon
2020-07-16 13:37:28 +07:00
parent 40afa7a420
commit 87e56e2975
5 changed files with 23 additions and 25 deletions

View File

@@ -15,19 +15,10 @@ export class MasterPageComponent implements OnInit {
navCollapsed = false;
connectionState = 2;
networkDropdownHidden = true;
constructor(
private stateService: StateService,
) { }
@HostListener('document:click', ['$event'])
documentClick(event: any): void {
if (!event.target.classList.contains('dropdown-toggle')) {
this.networkDropdownHidden = true;
}
}
ngOnInit() {
this.stateService.connectionState$
.subscribe((state) => {