refine the subscription loading time (fix #178) #181
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user