feat(front): actorlink for channel cards
This commit is contained in:
parent
e883599701
commit
3178654a95
|
@ -12,6 +12,7 @@ import moment from 'moment'
|
||||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||||
import Card from '~/components/ui/Card.vue'
|
import Card from '~/components/ui/Card.vue'
|
||||||
import Spacer from '~/components/ui/Spacer.vue'
|
import Spacer from '~/components/ui/Spacer.vue'
|
||||||
|
import ActorLink from '~/components/common/ActorLink.vue'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
object: Channel
|
object: Channel
|
||||||
|
@ -75,6 +76,10 @@ const updatedAgo = computed(() => moment(props.object.artist?.modification_date)
|
||||||
|
|
||||||
<template #default>
|
<template #default>
|
||||||
<Spacer :size="8" />
|
<Spacer :size="8" />
|
||||||
|
<ActorLink
|
||||||
|
:actor="object.attributed_to"
|
||||||
|
discrete
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|
Loading…
Reference in New Issue