feat: replace obsolete spinners with branded UI loading component
This commit is contained in:
@ -4,6 +4,7 @@ import { useRouter } from 'vue-router'
|
||||
import { useFavoritesStore } from '@/stores/favorites'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { getImageUrl as utilGetImageUrl } from '@/utils/imageUrl'
|
||||
import LoadingBranded from '@/components/common/LoadingBranded.vue'
|
||||
|
||||
const router = useRouter()
|
||||
const { t } = useI18n()
|
||||
@ -93,8 +94,7 @@ const hasVisibleItems = computed(() =>
|
||||
|
||||
<!-- ── Loading ── -->
|
||||
<div v-if="favoritesStore.isLoading" class="state-center">
|
||||
<div class="spinner"></div>
|
||||
<p>{{ t('common.loading') }}</p>
|
||||
<LoadingBranded :message="t('common.loading', 'Cargando favoritos')" icon="favorite_border" />
|
||||
</div>
|
||||
|
||||
<template v-else>
|
||||
|
||||
Reference in New Issue
Block a user