Q:

Displaying some data in Grid according to boolean value using react-redux

I want to display "Taxable" if value from db is true, if value is false  print "Non-Taxable".
How can I do it in react-redux?
Following is the code I tried.
render : (text,record) => record.IsTaxable === true ? (
                <span>
                    <label>Taxable</label>
                </span>
            ) : (
                <span>
                    <label>Non-Taxable</label>
                </span>
            )

The problem is that only "Non taxable " is printing. 
How can I solve this?

A:

You can do this way: 
render : (text,record) =>  (
                    <span>
                        <label>
                         {record.IsTaxable ? "Taxable" : "Non-Taxable"}
                         </label>
                    </span>
                )

