fix(ui): use div instead of button for WS status indicator
This commit is contained in:
@@ -32,15 +32,16 @@
|
|||||||
<v-spacer />
|
<v-spacer />
|
||||||
|
|
||||||
<!-- WebSocket status indicator -->
|
<!-- WebSocket status indicator -->
|
||||||
<v-btn icon variant="text" style="cursor: default" :ripple="false">
|
<div class="d-flex align-center px-2">
|
||||||
<v-icon
|
<v-icon
|
||||||
|
id="ws-status-icon"
|
||||||
:color="wsStore.isConnected ? 'success' : 'error'"
|
:color="wsStore.isConnected ? 'success' : 'error'"
|
||||||
size="10"
|
size="10"
|
||||||
>mdi-circle</v-icon>
|
>mdi-circle</v-icon>
|
||||||
<v-tooltip activator="parent" location="bottom">
|
<v-tooltip activator="#ws-status-icon" location="bottom">
|
||||||
{{ wsStore.isConnected ? 'Real-time updates active' : 'Disconnected — real-time updates paused' }}
|
{{ wsStore.isConnected ? 'Real-time updates active' : 'Disconnected — real-time updates paused' }}
|
||||||
</v-tooltip>
|
</v-tooltip>
|
||||||
</v-btn>
|
</div>
|
||||||
|
|
||||||
<v-btn icon @click="toggleTheme">
|
<v-btn icon @click="toggleTheme">
|
||||||
<v-icon>{{ isDark ? 'mdi-weather-sunny' : 'mdi-weather-night' }}</v-icon>
|
<v-icon>{{ isDark ? 'mdi-weather-sunny' : 'mdi-weather-night' }}</v-icon>
|
||||||
|
|||||||
Reference in New Issue
Block a user