Skip to content

Commit

Permalink
[5.x] Fix toggle fields in data list filters (#10393)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Jul 10, 2024
1 parent 19c5f6f commit 34624c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/data-list/Filter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default {
let filteredValues = clone(values);
Object.keys(values).forEach(key => {
if (_.isEmpty(values[key])) delete filteredValues[key];
if (values[key] === null || values[key] === undefined) delete filteredValues[key];
});
this.$emit('changed', filteredValues);
Expand Down

0 comments on commit 34624c3

Please sign in to comment.