Commit b6bd285
Fix filterAllInactiveCards to show all suspended cards and exclude deactivated cards
When includeDeactivated is true, show all suspended cards (not just zero-limit ones)
so admins can view and edit them. Remove the deactivated card path entirely since the
server rejects limit updates on STATE_DEACTIVATED cards with a 403 error.
Co-authored-by: Georgia Monahan <grgia@users.noreply.github.com>1 parent 8cba886 commit b6bd285
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1060 | 1060 | | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | | - | |
1064 | 1063 | | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
| 1064 | + | |
1069 | 1065 | | |
1070 | 1066 | | |
1071 | 1067 | | |
| |||
1083 | 1079 | | |
1084 | 1080 | | |
1085 | 1081 | | |
1086 | | - | |
| 1082 | + | |
1087 | 1083 | | |
1088 | 1084 | | |
1089 | 1085 | | |
| |||
0 commit comments