fix: 💄 fix missing icon on empty contents
This commit is contained in:
parent
094b7812cd
commit
81cb6a0191
@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<NcEmptyContent class="empty">
|
<NcEmptyContent class="empty">
|
||||||
<slot />
|
<slot />
|
||||||
|
<template #icon>
|
||||||
|
<slot name="icon" />
|
||||||
|
</template>
|
||||||
</NcEmptyContent>
|
</NcEmptyContent>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -2,13 +2,12 @@
|
|||||||
<AppContent>
|
<AppContent>
|
||||||
<EmptyContent
|
<EmptyContent
|
||||||
v-if="!getFavorites.length"
|
v-if="!getFavorites.length"
|
||||||
class="empty"
|
|
||||||
:description="
|
:description="
|
||||||
t('repod', 'Pin some subscriptions to see their latest updates')
|
t('repod', 'Pin some subscriptions to see their latest updates')
|
||||||
"
|
"
|
||||||
:name="t('repod', 'No favorites')">
|
:name="t('repod', 'No favorites')">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<StarOffIcon :size="20" />
|
<StarOffIcon />
|
||||||
</template>
|
</template>
|
||||||
</EmptyContent>
|
</EmptyContent>
|
||||||
<ul v-if="getFavorites.length">
|
<ul v-if="getFavorites.length">
|
||||||
|
Loading…
Reference in New Issue
Block a user