mirror of
https://github.com/gotson/komga.git
synced 2025-12-15 21:12:27 +01:00
add drawer indicator if version is outdated
This commit is contained in:
parent
b09c4dd942
commit
b5df56d20f
1 changed files with 11 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue