cc-dashboard/src/static/index.html
Vadym Samoilenko 75c78635bc fix: planner crash — make Task.tags optional, guard task.tags?.length
Backend TaskOut doesn't include tags field; TaskCard.vue read
task.tags.length causing TypeError on undefined. Making tags optional
in the Task type and using optional chaining is the correct fix since
the tags feature is unused (always empty).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 12:01:39 +01:00

23 lines
993 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/cc-dashboard/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CC Dashboard</title>
<script>
(function() {
var theme = localStorage.getItem('theme');
if (theme === 'light') { document.documentElement.classList.remove('dark'); }
else if (theme === 'dark') { document.documentElement.classList.add('dark'); }
else if (window.matchMedia('(prefers-color-scheme: dark)').matches) { document.documentElement.classList.add('dark'); }
else { document.documentElement.classList.remove('dark'); }
})();
</script>
<script type="module" crossorigin src="/cc-dashboard/static/assets/index-BsVgmrYd.js"></script>
<link rel="stylesheet" crossorigin href="/cc-dashboard/static/assets/index-DopqRgoW.css">
</head>
<body>
<div id="app"></div>
</body>
</html>