now hiding content if !ws.connected

This commit is contained in:
Patrick Haßel 2025-11-21 10:22:26 +01:00
parent b2a96e1c24
commit 2bd115f095
2 changed files with 10 additions and 14 deletions

View File

@ -17,12 +17,10 @@
<fa-icon [icon]="faGears"></fa-icon> <fa-icon [icon]="faGears"></fa-icon>
</div> </div>
@if (!ws.connected) { </div>
<div class="MainMenuItem MainMenuNotConnected">NICHT VERBUNDEN</div> </div>
}
</div> @if (ws.connected) {
</div>
<div class="MainMenuDrawer NoUserSelect" [hidden]="!showDrawer"> <div class="MainMenuDrawer NoUserSelect" [hidden]="!showDrawer">
@for (location of locationList; track location.id) { @for (location of locationList; track location.id) {
@ -32,4 +30,6 @@
} }
</div> </div>
}
<router-outlet/> <router-outlet/>

View File

@ -26,10 +26,6 @@
flex: 1; flex: 1;
} }
.MainMenuNotConnected {
color: red;
}
.bookmarkInactive { .bookmarkInactive {
color: lightgray; color: lightgray;
} }