D
D
Daniel161rus2020-04-22 14:31:14
React
Daniel161rus, 2020-04-22 14:31:14

Doesn't display the data of the Status field, what's the problem?

https://codesandbox.io/s/practical-moon-ezh5z

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2020-04-22
@Daniil161rus

Some nonsense was written in render. Do this:

render: val => val
  ? <Tag color="success">Активен</Tag>
  : <Tag color="default">Не активен</Tag>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question