Changing / renaming number to text

Via my API connection I receive the status of an order:

Knipsel

But those numbers need to be shown in text, in the bootstrap table. Like this:

I have tried this:

status.contains(20).then("Scheduled", "")

But I seem to only be able to do that for 1 status (in this case ‘scheduled’) and not for the other statuses. Maybe I’m doing something wrong, anyone an idea?

Community Page
Last updated: