임산물 현황 건수 일치 시키기 수정

This commit is contained in:
주수현
2025-07-25 18:42:33 +09:00
parent b1fbdc85dc
commit de41a1f52d

View File

@@ -239,12 +239,14 @@
const header = document.getElementById('listHeader');
const count = document.getElementById('listCount');
const total = ENV.data.productList.length;
const totalItems = document.getElementById('totalItems');
header.style.display = total > 0 ? '' : 'none';
status.style.display = total > 0 ? 'none' : '';
callPastInfoBtn.style.display = total > 0 ? 'none' : '';
count.textContent = total;
totalItems.textContent = total;
btn.disabled = isChecked;