fix: 💄 fix missing icon on empty contents
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-09-02 12:37:55 +02:00
parent 094b7812cd
commit 81cb6a0191
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,9 @@
<template>
<NcEmptyContent class="empty">
<slot />
<template #icon>
<slot name="icon" />
</template>
</NcEmptyContent>
</template>

View File

@ -2,13 +2,12 @@
<AppContent>
<EmptyContent
v-if="!getFavorites.length"
class="empty"
:description="
t('repod', 'Pin some subscriptions to see their latest updates')
"
:name="t('repod', 'No favorites')">
<template #icon>
<StarOffIcon :size="20" />
<StarOffIcon />
</template>
</EmptyContent>
<ul v-if="getFavorites.length">