fix: 💄 fix missing icon on empty contents
This commit is contained in:
parent
094b7812cd
commit
81cb6a0191
@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<NcEmptyContent class="empty">
|
||||
<slot />
|
||||
<template #icon>
|
||||
<slot name="icon" />
|
||||
</template>
|
||||
</NcEmptyContent>
|
||||
</template>
|
||||
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user