diff --git a/package.json b/package.json
index 1e15598..fbada23 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "my-weekly-todo-list",
- "version": "1.111.0",
+ "version": "1.111.1",
"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/GridTaskBlock.tsx b/src/components/GridTaskBlock.tsx
index 44d89f8..2081978 100644
--- a/src/components/GridTaskBlock.tsx
+++ b/src/components/GridTaskBlock.tsx
@@ -1,7 +1,7 @@
import React, { useState, useRef, useEffect, Suspense } from "react";
import dynamic from "next/dynamic";
const RichTextEditor = dynamic(() => import("./RichTextEditor"), { ssr: false });
-import { Repeat, Circle, X, ChevronDown, Link } from "lucide-react";
+import { Repeat, X, ChevronDown, Link } from "lucide-react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faGoogle, faMicrosoft, faApple } from "@fortawesome/free-brands-svg-icons";
import { faServer, faFolder, IconDefinition } from "@fortawesome/free-solid-svg-icons";
@@ -618,13 +618,21 @@ export function GridTaskBlock({
aria-expanded={showProjectPicker}
aria-haspopup="listbox"
>
-
+ {task.project ? (() => {
+ const rawIcon = task.project.icon || "";
+ const normalised = rawIcon.startsWith("fa") && rawIcon.length > 2 && rawIcon[2] === rawIcon[2].toUpperCase()
+ ? rawIcon.slice(2, 3).toLowerCase() + rawIcon.slice(3)
+ : rawIcon;
+ const found = allIcons.find(i => i.name === normalised || i.name === rawIcon);
+ if (found) {
+ return found.type === "fa"
+ ?
+ :