数値が誤ってブール値として判断される問題を修正
This commit is contained in:
@@ -330,7 +330,7 @@ namespace DropdownContainer {
|
|||||||
const index = headerCells
|
const index = headerCells
|
||||||
.map((th) => th.textContent?.trim())
|
.map((th) => th.textContent?.trim())
|
||||||
.findIndex((label) => label === field.dropDown.label);
|
.findIndex((label) => label === field.dropDown.label);
|
||||||
if (index) {
|
if (index || index === 0) {
|
||||||
columnMap.set(index, field);
|
columnMap.set(index, field);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user