style: 💄 use NcGuestContent to separate favorites
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Successful in 1m6s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-08-26 17:17:14 +02:00
parent 9005b519f3
commit 4e4730efd5

View File

@ -1,18 +1,18 @@
<template>
<div class="">
<NcGuestContent>
<Loading v-if="!currentFavoriteData" class="loading" />
<NcAvatar
v-if="currentFavoriteData"
:display-name="currentFavoriteData.author || currentFavoriteData.title"
:is-no-user="true"
:size="256"
:size="222"
:url="currentFavoriteData.imageUrl" />
</div>
</NcGuestContent>
</template>
<script>
import { NcAvatar, NcGuestContent } from '@nextcloud/vue'
import Loading from '../Atoms/Loading.vue'
import { NcAvatar } from '@nextcloud/vue'
import { mapState } from 'pinia'
import { useSubscriptions } from '../../store/subscriptions.js'
@ -21,6 +21,7 @@ export default {
components: {
Loading,
NcAvatar,
NcGuestContent,
},
props: {
url: {