From b6c47c81b3b0870465d73212bda53dd4561f5a55 Mon Sep 17 00:00:00 2001 From: mARTin Date: Sun, 5 Apr 2026 12:35:57 +0200 Subject: [PATCH] fix: show weather sidebar section when weatherEnabled even without location The previous condition only checked weatherLat || weatherLon, so users who enabled weather in settings but hadn't picked a city yet would never see the sidebar toggle. Now shows if weatherEnabled OR lat/lon is set. v1.83.3 --- package.json | 2 +- src/components/WeeklyView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1bcc474..dd99bce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.83.2", + "version": "1.83.3", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index e2d3e7c..2afe5ca 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -5569,7 +5569,7 @@ export default function WeeklyView() { {effectiveShowProjectIcons ? : } - {(profile.weatherLat || profile.weatherLon) && (<> + {(profile.weatherEnabled || profile.weatherLat || profile.weatherLon) && (<>
{profile.language === "de" ? "Wetter" : "Weather"}