diff --git a/package.json b/package.json
index 85bfb5c..2c6e03f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "my-weekly-todo-list",
- "version": "1.2.2",
+ "version": "1.2.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 f8f6d61..7e55718 100644
--- a/src/components/WeeklyView.tsx
+++ b/src/components/WeeklyView.tsx
@@ -107,6 +107,7 @@ interface SomedayList {
id: string;
title: string;
tasks: Task[];
+ externalProvider?: string | null;
}
// Time grid configuration options
@@ -1412,6 +1413,7 @@ export default function WeeklyView() {
id: l.id,
title: l.title,
tasks: [],
+ externalProvider: l.externalProvider || null,
}));
}
@@ -4698,6 +4700,22 @@ export default function WeeklyView() {
if (e.key === "Enter") e.currentTarget.blur();
}}
/>
+ {list.externalProvider && (
+
+ {list.externalProvider === "outlook" ? (
+
+ ) : list.externalProvider === "google" ? (
+
+ ) : list.externalProvider === "apple" ? (
+
+ ) : (
+
+ )}
+
+ )}