fix(ui): remove malformed javascript block causing graph and tabs to fail to render
This commit is contained in:
1 parent
706e9ad172
commit
91055b1eda
1 file changed
-15
@@ -1079,22 +1079,7 @@
|
||||
|
||||
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 => `
|
||||
<strong>${item.id}</strong> ${item.is_resolved ? '<span style="color:var(--success-color);">(Resolved)</span>' : '<span style="color:var(--error-color);">(Open)</span>'}
|
||||
<div style="margin-top:5px;"><strong>Description:</strong> ${item.description}</div>
|
||||
|
||||
Reference in new issue
Block a user