Skip to content

Commit

Permalink
Fix filter toJson
Browse files Browse the repository at this point in the history
  • Loading branch information
kodjodevf committed Apr 8, 2024
1 parent 45b2614 commit 1449fae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/eval/dart/model/filter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class SelectFilter {
Map<String, dynamic> toJson() => {
'type': type,
'name': name,
'state': state,
'values': filterValuesListToJson(values),
'type_name': "SelectFilter"
};
Expand Down Expand Up @@ -101,7 +102,7 @@ class SortFilter {
Map<String, dynamic> toJson() => {
'type': type,
'name': name,
'state': state,
'state': state.toJson(),
'values': filterValuesListToJson(values),
'type_name': "SortFilter"
};
Expand Down

0 comments on commit 1449fae

Please sign in to comment.