score:5

Accepted answer
  {this.state.deviceDetails.map((dev,i)=>{
          if(user.idx == dev.uid){
            return([
              <td>{dev.imei ? dev.imei : "-"}</td>,
              <td>{dev.dm ? dev.dm : "-"}</td>
            ])
          }
        })}

Related Query

More Query from same tag