임산물 현황 건수 일치 시키기 수정
This commit is contained in:
@@ -239,12 +239,14 @@
|
|||||||
const header = document.getElementById('listHeader');
|
const header = document.getElementById('listHeader');
|
||||||
const count = document.getElementById('listCount');
|
const count = document.getElementById('listCount');
|
||||||
const total = ENV.data.productList.length;
|
const total = ENV.data.productList.length;
|
||||||
|
const totalItems = document.getElementById('totalItems');
|
||||||
|
|
||||||
|
|
||||||
header.style.display = total > 0 ? '' : 'none';
|
header.style.display = total > 0 ? '' : 'none';
|
||||||
status.style.display = total > 0 ? 'none' : '';
|
status.style.display = total > 0 ? 'none' : '';
|
||||||
callPastInfoBtn.style.display = total > 0 ? 'none' : '';
|
callPastInfoBtn.style.display = total > 0 ? 'none' : '';
|
||||||
count.textContent = total;
|
count.textContent = total;
|
||||||
|
totalItems.textContent = total;
|
||||||
|
|
||||||
|
|
||||||
btn.disabled = isChecked;
|
btn.disabled = isChecked;
|
||||||
|
|||||||
Reference in New Issue
Block a user