From 02f77c0a51b46e57ced8775bcb19c4e96e270efe Mon Sep 17 00:00:00 2001 From: catlog22 Date: Mon, 8 Dec 2025 23:24:17 +0800 Subject: [PATCH] fix(dashboard): add missing Lucide icon initialization in project-overview and session-detail views --- ccw/src/templates/dashboard-js/views/project-overview.js | 3 +++ ccw/src/templates/dashboard-js/views/session-detail.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ccw/src/templates/dashboard-js/views/project-overview.js b/ccw/src/templates/dashboard-js/views/project-overview.js index bc5e73dd..ebc3e42e 100644 --- a/ccw/src/templates/dashboard-js/views/project-overview.js +++ b/ccw/src/templates/dashboard-js/views/project-overview.js @@ -191,6 +191,9 @@ function renderProjectOverview() { `; + + // Initialize Lucide icons + if (typeof lucide !== 'undefined') lucide.createIcons(); } function renderDevelopmentIndex(devIndex) { diff --git a/ccw/src/templates/dashboard-js/views/session-detail.js b/ccw/src/templates/dashboard-js/views/session-detail.js index 2e80d129..053e0a01 100644 --- a/ccw/src/templates/dashboard-js/views/session-detail.js +++ b/ccw/src/templates/dashboard-js/views/session-detail.js @@ -112,6 +112,9 @@ function showSessionDetailPage(sessionKey) { `; + + // Initialize Lucide icons + if (typeof lucide !== 'undefined') lucide.createIcons(); } function goBackToSessions() {