feat: replace obsolete spinners with branded UI loading component
This commit is contained in:
@ -3,9 +3,10 @@ import { onMounted, onUnmounted, ref, computed } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useShuttleStore } from '@/stores/shuttle'
|
||||
import { analyticsService } from '@/services/analyticsService'
|
||||
import { getImageUrl } from '@/utils/imageUrl'
|
||||
import AuthGuard from '@/components/common/AuthGuard.vue'
|
||||
import { getImageUrl } from '@/utils/imageUrl'
|
||||
import { analyticsService } from '@/services/analyticsService'
|
||||
import LoadingBranded from '@/components/common/LoadingBranded.vue'
|
||||
|
||||
const { t } = useI18n()
|
||||
const shuttleStore = useShuttleStore()
|
||||
@ -93,8 +94,7 @@ onUnmounted(() => {
|
||||
|
||||
<!-- ESTADOS -->
|
||||
<div v-if="shuttleStore.isLoading" class="state-container">
|
||||
<span class="material-icons spin">refresh</span>
|
||||
<p>{{ t('taxi.loadingTaxis') }}</p>
|
||||
<LoadingBranded :message="t('taxi.loadingTaxis') || 'Cargando viajes...'" icon="airport_shuttle" />
|
||||
</div>
|
||||
|
||||
<div v-else-if="shuttleStore.error" class="state-container">
|
||||
|
||||
Reference in New Issue
Block a user