CollActionteam / collaction_cms

This is the UI interface for the CMS API
6 stars 3 forks source link

Fix Pagination issue #42

Closed dromerolovo closed 1 year ago

dromerolovo commented 1 year ago

When triggering pagination events, the following error is produced

Expected a value of type 'String', but got one of type 'Null'

dromerolovo commented 1 year ago

The error was caused by null values in the blocks and tags fields inside commitments field of the last crowdAction

"commitments": [
        {
          "_id": "2bcdfbc9-c655-4458-8f53-6da194e61d9e",
          "tags": [
            null
          ],
          "label": "string",
          "description": "string",
          "points": 0,
          "blocks": [
            null
          ],
dromerolovo commented 1 year ago

Fixed in branch fix/modal-null-handler