add drawer indicator if version is outdated

This commit is contained in:
Gauthier Roebroeck 2025-07-28 18:04:54 +08:00
parent b09c4dd942
commit b5df56d20f

View file

@ -106,12 +106,22 @@
id: 'lDnmZD',
})
"
/>
><template #append>
<v-badge
:model-value="!isLatestVersion"
inline
content="!"
color="warning"
/>
</template>
</v-list-item>
</v-list-group>
</template>
<script setup lang="ts">
import { useAnnouncements } from '@/colada/announcements'
import { useAppReleases } from '@/colada/app-releases'
const { unreadCount } = useAnnouncements()
const { isLatestVersion } = useAppReleases()
</script>