ffplayout/frontend/components/EventStatus.vue

15 lines
444 B
Vue
Raw Normal View History

2024-04-25 08:49:57 -04:00
<template>
<div class="flex items-center ps-4 pe-1">
<div
class="w-2 h-2 rounded-full"
:class="indexStore.sseConnected ? 'bg-success shadow shadow-success' : 'bg-error shadow shadow-error'"
:title="indexStore.sseConnected ? t('socketConnected') : t('socketDisconnected')"
2024-04-25 08:49:57 -04:00
/>
</div>
</template>
<script setup lang="ts">
const { t } = useI18n()
2024-04-25 08:49:57 -04:00
const indexStore = useIndex()
</script>