now hiding content if !ws.connected
This commit is contained in:
parent
b2a96e1c24
commit
2bd115f095
@ -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/>
|
||||||
|
|||||||
@ -26,10 +26,6 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.MainMenuNotConnected {
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bookmarkInactive {
|
.bookmarkInactive {
|
||||||
color: lightgray;
|
color: lightgray;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user