Refactor: Map UI improvements, ETA metrics, Schedule fixes, and Transport Detail styling
This commit is contained in:
@ -1,10 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { ref, onMounted, computed } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
const { t } = useI18n()
|
||||
const route = useRoute()
|
||||
|
||||
// Solo mostrar el header con tabs en las vistas principales
|
||||
const isMainView = computed(() => {
|
||||
return route.name === 'TaxisLocales' || route.name === 'ViajesTuristicos'
|
||||
})
|
||||
const mountError = ref(false)
|
||||
|
||||
const reloadPage = () => {
|
||||
@ -24,7 +29,7 @@ onMounted(async () => {
|
||||
|
||||
<template>
|
||||
<div class="taxi-view">
|
||||
<header class="header-main">
|
||||
<header v-if="isMainView" class="header-main">
|
||||
<h1 class="brand-title">{{ t('taxi.title') }}</h1>
|
||||
<div class="hub-tabs">
|
||||
<div class="tabs-background">
|
||||
|
||||
Reference in New Issue
Block a user