数値が誤ってブール値として判断される問題を修正

This commit is contained in:
Mouriya
2024-09-19 21:49:23 +09:00
parent df408ff2a8
commit 1e4cb27998

View File

@@ -330,7 +330,7 @@ namespace DropdownContainer {
const index = headerCells
.map((th) => th.textContent?.trim())
.findIndex((label) => label === field.dropDown.label);
if (index) {
if (index || index === 0) {
columnMap.set(index, field);
}
}