fix: 🚧 wip
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 29s
repod / php (push) Has been cancelled

This commit is contained in:
Michel Roux 2024-10-23 22:38:23 +02:00
parent fb51b7ba60
commit 0d50f1156e

View File

@ -1,8 +1,8 @@
<template>
<NcAppNavigationItem
:loading="loading"
:name="metric.data?.title || url"
:to="toFeedUrl(url)">
:name="metric.data?.title || metric.url"
:to="toFeedUrl(metric.url)">
<template #actions>
<NcActionButton
:aria-label="t('repod', 'Favorite')"
@ -31,7 +31,6 @@
:is-no-user="true"
:url="metric.data?.imageUrl" />
<StarIcon v-if="metric.isFavorite" class="star" :size="20" />
<AlertIcon v-if="failed" />
</template>
</NcAppNavigationItem>
</template>
@ -39,7 +38,6 @@
<script lang="ts">
import { NcActionButton, NcAppNavigationItem, NcAvatar } from '@nextcloud/vue'
import { mapActions, mapState } from 'pinia'
import AlertIcon from 'vue-material-design-icons/Alert.vue'
import DeleteIcon from 'vue-material-design-icons/Delete.vue'
import type { PodcastMetricsInterface } from '../../utils/types.ts'
import StarIcon from 'vue-material-design-icons/Star.vue'
@ -55,7 +53,6 @@ import { useSubscriptions } from '../../store/subscriptions.ts'
export default {
name: 'Subscription',
components: {
AlertIcon,
DeleteIcon,
NcActionButton,
NcAppNavigationItem,