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 authored and Birkbjo committed Aug 21, 2024
1 parent dc54d3c commit 834a4ac
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 834a4ac

Please sign in to comment.