Fix: bugs, cleanup.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user