Commit 4a0e2299 authored by Roman's avatar Roman

BRCD-1676 fix(Play) - if plays disabled, print all fields

parent 15f0fb80
......@@ -106,7 +106,7 @@ class EntityFields extends Component {
filterPlayFields = (field) => {
const { availablePlays, entity } = this.props;
if (!shouldUsePlays(availablePlays)) {
return false;
return true;
}
const play = entity.get('play', '');
const plays = Immutable.List(typeof play.split === 'function' ? play.split(',') : play);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment