feat(ui): Hide top ArrivalBanner when ETACard is visible to prevent UI clutter

This commit is contained in:
2026-03-12 14:49:57 -05:00
parent 13584b0625
commit 3ac554ad83

View File

@ -646,7 +646,7 @@ watch([() => authStore.userProfile?.auto_location, isLoaded], ([canLocate, loade
> >
<template #extra-triggers> <template #extra-triggers>
<ArrivalBanner <ArrivalBanner
:is-visible="(routePhase === 'navigating' || routePhase === 'eta') && !!(routeStore.selectedRouteId && !isBannerClosing)" :is-visible="(routePhase === 'navigating' || routePhase === 'eta') && !!(routeStore.selectedRouteId && !isBannerClosing) && !showETACard"
:stop-name="paradaCercana?.name || routeStore.selectedRouteName || ''" :stop-name="paradaCercana?.name || routeStore.selectedRouteName || ''"
:is-loading="etaCargando" :is-loading="etaCargando"
:has-active-buses="busesActivos.length > 0" :has-active-buses="busesActivos.length > 0"