Fix URL bug when refreshing weather radar

This commit is contained in:
Lance Edgar 2024-06-09 19:32:17 -05:00
parent d4cf4e1c3e
commit c92d9aae0d

View file

@ -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}`
}
})