style: 💄 use NcGuestContent to separate favorites
This commit is contained in:
parent
9005b519f3
commit
4e4730efd5
@ -1,18 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="">
|
<NcGuestContent>
|
||||||
<Loading v-if="!currentFavoriteData" class="loading" />
|
<Loading v-if="!currentFavoriteData" class="loading" />
|
||||||
<NcAvatar
|
<NcAvatar
|
||||||
v-if="currentFavoriteData"
|
v-if="currentFavoriteData"
|
||||||
:display-name="currentFavoriteData.author || currentFavoriteData.title"
|
:display-name="currentFavoriteData.author || currentFavoriteData.title"
|
||||||
:is-no-user="true"
|
:is-no-user="true"
|
||||||
:size="256"
|
:size="222"
|
||||||
:url="currentFavoriteData.imageUrl" />
|
:url="currentFavoriteData.imageUrl" />
|
||||||
</div>
|
</NcGuestContent>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { NcAvatar, NcGuestContent } from '@nextcloud/vue'
|
||||||
import Loading from '../Atoms/Loading.vue'
|
import Loading from '../Atoms/Loading.vue'
|
||||||
import { NcAvatar } from '@nextcloud/vue'
|
|
||||||
import { mapState } from 'pinia'
|
import { mapState } from 'pinia'
|
||||||
import { useSubscriptions } from '../../store/subscriptions.js'
|
import { useSubscriptions } from '../../store/subscriptions.js'
|
||||||
|
|
||||||
@ -21,6 +21,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
Loading,
|
Loading,
|
||||||
NcAvatar,
|
NcAvatar,
|
||||||
|
NcGuestContent,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
url: {
|
url: {
|
||||||
|
Loading…
Reference in New Issue
Block a user