mirror of
https://github.com/jwetzell/showbridge-webui.git
synced 2026-08-17 12:23:23 +00:00
format
This commit is contained in:
+9
-1
@@ -2,7 +2,15 @@
|
||||
<div class="w-full">
|
||||
<mat-toolbar color="primary">
|
||||
@if (eventsService.status() === 'open') {
|
||||
<div [matTooltip]="'Connected' + (eventsService.socketRoundTripLatency() !== null ? ' (' + eventsService.socketRoundTripLatency() + ' ms)' : '')" class="h-3 w-3 rounded-full bg-green-400 mr-2"></div>
|
||||
<div
|
||||
[matTooltip]="
|
||||
'Connected' +
|
||||
(eventsService.socketRoundTripLatency() !== null
|
||||
? ' (' + eventsService.socketRoundTripLatency() + ' ms)'
|
||||
: '')
|
||||
"
|
||||
class="h-3 w-3 rounded-full bg-green-400 mr-2"
|
||||
></div>
|
||||
} @else if (eventsService.status() === 'closed') {
|
||||
<div matTooltip="Disconnected" class="h-3 w-3 rounded-full bg-orange-400 mr-2"></div>
|
||||
} @else if (eventsService.status() === 'error') {
|
||||
|
||||
Reference in New Issue
Block a user