diff --git a/package.json b/package.json index 42605f6..e728ad3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.81.16", + "version": "1.81.17", "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 0a88379..4917319 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -196,7 +196,7 @@ export interface SomedayList { } // Time grid configuration options -export type CellDuration = 15 | 20 | 30 | 45 | 60; +export type CellDuration = 15 | 20 | 30 | 60; const DEFAULT_SOMEDAY_SLOT_COUNT = 5; const getSomedaySlotCount = (tasks: Task[]) => { @@ -1458,7 +1458,6 @@ export default function WeeklyView() { case 15: return 25; case 20: return 30; case 30: return 35; - case 45: return 45; case 60: return 50; default: return 50; } @@ -5450,7 +5449,7 @@ export default function WeeklyView() { {profile.language === "de" ? "Zeitfenster" : "Slot"}
- {(([15, 20, 30, 45] as CellDuration[])).map((d) => ( + {(([15, 20, 30, 60] as CellDuration[])).map((d) => (