fix(ui): remove malformed javascript block causing graph and tabs to fail to render

This commit is contained in:
Riz Ashraf committed 2026-09-27 22:48:40 +01:00
1 parent 706e9ad172
commit 91055b1eda
1 file changed
-15
-15
View File
@@ -1079,21 +1079,6 @@
function loadAllExtras() { function loadAllExtras() {
loadGenericList('/api/pinned_files', 'pinned-container', item =>
<strong></strong>
<div style="font-size:0.8em; color:var(--text-secondary); margin-top: 4px;">Pinned at: </div>
<div style="white-space:pre-wrap; font-size:0.9em; line-height:1.4; margin-top:5px;"></div>
);
loadGenericList('/api/milestones', 'milestones-container', item => {
const statusColor = item.status === 'completed' ? '#2ecc71' : (item.status === 'in_progress' ? '#3498db' : '#f39c12');
return
<div style="border-left: 4px solid ; padding-left: 10px; margin-bottom: 10px;">
<strong></strong> <span style="font-size:0.8em; color:var(--text-secondary);">()</span>
<div style="white-space:pre-wrap; font-size:0.9em; line-height:1.4; margin-top:5px;"></div>
</div>
;
});
loadGenericList('/api/tech_debts', 'techdebt-container', item => ` loadGenericList('/api/tech_debts', 'techdebt-container', item => `
<strong>${item.id}</strong> ${item.is_resolved ? '<span style="color:var(--success-color);">(Resolved)</span>' : '<span style="color:var(--error-color);">(Open)</span>'} <strong>${item.id}</strong> ${item.is_resolved ? '<span style="color:var(--success-color);">(Resolved)</span>' : '<span style="color:var(--error-color);">(Open)</span>'}