Skip to content

Commit

Permalink
Adding websocket state
Browse files Browse the repository at this point in the history
  • Loading branch information
carsso committed Jan 27, 2025
1 parent 863e490 commit 72f1c36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/js/components/EchoState.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<div class="echo-state fixed right-3 bottom-3 z-9999 text-xs">
<div class="echo-state fixed right-3 bottom-3 z-9999 text-xs"
:title="'État du websocket : ' + $root.echoState">
<i v-if="$root.echoState === 'connected'"
class="fa-regular fa-circle text-[#A6D64D]"></i>
<i v-else-if="$root.echoState === 'connecting'"
Expand Down

0 comments on commit 72f1c36

Please sign in to comment.