Fix: bugs, cleanup.

This commit is contained in:
2026-02-17 15:38:18 +00:00
parent 5661632540
commit c7db290aaf
5 changed files with 65 additions and 27 deletions

View File

@@ -674,7 +674,7 @@ export default class TableBasePage extends BasePage {
idCommandCategory = command[attrIdCommandCategory];
}
} else {
idCommandCategory = Number(valueCurrentCommandCategoryFilter);
idCommandCategory = parseInt(valueCurrentCommandCategoryFilter);
}
return idCommandCategory;
}
@@ -690,7 +690,7 @@ export default class TableBasePage extends BasePage {
let formFilters = TableBasePage.getFormFilters();
let commandFilter = formFilters.querySelector('#' + attrIdCommand);
let valueCurrentCommandFilter = DOM.getElementAttributeValueCurrent(commandFilter);
let idCommand = Number(valueCurrentCommandFilter);
let idCommand = parseInt(valueCurrentCommandFilter);
return idCommand;
}
getHasCommandFilter() {