We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5860af7 commit fb404eeCopy full SHA for fb404ee
app/lib/admin/actions/moderation_case_list.dart
@@ -47,10 +47,10 @@ List ModerationCase entities with filter options.
47
}
48
49
final list = await query.run().where((mc) {
50
- if (status == 'pending' && mc.status != ModerationStatus.pending) {
+ if (status == 'resolved' && mc.status == ModerationStatus.pending) {
51
return false;
52
53
- if (status == 'resolved' && mc.status == ModerationStatus.pending) {
+ if (status != null && status != 'resolved' && mc.status != status) {
54
55
56
if (kind != null && mc.kind != kind) {
0 commit comments