diff --git a/system1-factory/web/pages/work/schedule.html b/system1-factory/web/pages/work/schedule.html
index 1b5277f..110b216 100644
--- a/system1-factory/web/pages/work/schedule.html
+++ b/system1-factory/web/pages/work/schedule.html
@@ -361,21 +361,21 @@
const r = await apiFetch('/api/schedule/product-types');
typeSel.innerHTML = '';
(r.data || []).forEach(pt => {
- typeSel.innerHTML += ``;
+ typeSel.innerHTML += ``;
});
} catch(e) { console.warn('제품유형 로드 실패:', e); }
// 프로젝트 목록 (기존 gantt에서 사용 중인 projects 변수 활용)
if (typeof allProjects !== 'undefined' && allProjects.length) {
projSel.innerHTML = allProjects.map(p =>
- ``
+ ``
).join('');
} else {
try {
const r = await apiFetch('/api/projects/active');
const projs = r.data || [];
projSel.innerHTML = projs.map(p =>
- ``
+ ``
).join('');
} catch(e) { projSel.innerHTML = ''; }
}
diff --git a/system1-factory/web/static/js/tkfb-core.js b/system1-factory/web/static/js/tkfb-core.js
index a04f27f..643c95d 100644
--- a/system1-factory/web/static/js/tkfb-core.js
+++ b/system1-factory/web/static/js/tkfb-core.js
@@ -64,7 +64,6 @@ function showToast(msg, type = 'success') {
/* ===== Escape ===== */
function escapeHtml(str) { if (!str) return ''; const d = document.createElement('div'); d.textContent = str; return d.innerHTML; }
-const escHtml = escapeHtml;
/* ===== Helpers ===== */
function formatDate(d) { if (!d) return ''; return String(d).substring(0, 10); }