Skip to content

Commit

Permalink
fix(dataset): Changing var to const
Browse files Browse the repository at this point in the history
  • Loading branch information
benguaraldi committed Jul 30, 2024
1 parent 34af9de commit c89ae2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/field-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ export default new Map([
type: 'CHANGE_VALUE',
setValue: (model, fieldConfig) => {
try {
var filters = ['categoryCombo.id:eq:' + model.dataValues.categoryCombo.id, 'categoryCombo.id:null'];
const filters = ['categoryCombo.id:eq:' + model.dataValues.categoryCombo.id, 'categoryCombo.id:null'];
if (!Array.isArray(fieldConfig.props.queryParamFilter)) {
fieldConfig.props.queryParamFilter = filters;
} else if (!fieldConfig.props.queryParamFilter.includes(filters[0])) {
Expand Down

0 comments on commit c89ae2c

Please sign in to comment.