diff --git a/frontend/src/views/BriefingView.vue b/frontend/src/views/BriefingView.vue index 9653ecc..53a6c63 100644 --- a/frontend/src/views/BriefingView.vue +++ b/frontend/src/views/BriefingView.vue @@ -74,6 +74,10 @@ let currentWeatherTimer: ReturnType | null = null async function loadCurrentConditions() { try { currentConditions.value = await apiGet('/api/briefing/weather/current') + // Patch the live temperature into the WeatherCard so it stays fresh + if (currentConditions.value?.temperature != null && weatherData.value.length > 0) { + weatherData.value[0] = { ...weatherData.value[0], current_temp: currentConditions.value.temperature } + } } catch { /* silent — endpoint may not have locations configured */ } } @@ -260,14 +264,6 @@ onMounted(async () => {
Weather
- -
-
{{ currentConditions.temperature }}°{{ currentConditions.temp_unit }}
-
{{ currentConditions.description }}
-
- Rain next 3h: {{ currentConditions.precip_next_3h.map((p: number) => `${p}%`).join(', ') }} -
-