diff --git a/src/views/WeatherView.vue b/src/views/WeatherView.vue index a76eb96..54f5423 100644 --- a/src/views/WeatherView.vue +++ b/src/views/WeatherView.vue @@ -26,12 +26,16 @@ const panelHeadingTitle = computed(() => { const radarLatestURL = computed(() => { - return `${weatherStore.radarLatestURL}?t=${timestamp.value}` + if (weatherStore.weather) { + return `${weatherStore.radarLatestURL}?t=${timestamp.value}` + } }) const radarLoopURL = computed(() => { - return `${weatherStore.radarLoopURL}?t=${timestamp.value}` + if (weatherStore.weather) { + return `${weatherStore.radarLoopURL}?t=${timestamp.value}` + } })