Browse Source

Merge branch 'master' of https://git.oslog.id/ordo/adw-frontend

pull/2/head
farhan048 2 years ago
parent
commit
5eb9e6fe8c
  1. 6
      src/views/Report/k3/index.js

6
src/views/Report/k3/index.js

@ -446,15 +446,15 @@ class index extends Component {
return (
<tr key={n.id}>
<td>{n.join_first_name ? n.join_first_name : "-"}</td>
<td>{n.report_date ? moment(n.report_date).format("DD-MM-YYYY HH:mm:ss") : "-"}</td>
<td>{n.report_date ? moment(n.report_date).format("DD-MM-YYYY") : "-"}</td>
<td>{n.k3_checked.length ? n.k3_checked.join() : "-"}</td>
<td>{n.k3_not_checked.length ? n.k3_not_checked.join() : "-"}</td>
<td>{n.description ? n.description : "-"}</td>
<td> {n.image ? <Tooltip title={this.props.t('image')}><i onClick={() => this.lihatFoto(n.image)} className='fa fa-image'></i></Tooltip> : ""}</td>
<td> {n.image ? <Tooltip title="Lihat Foto"><i onClick={() => this.lihatFoto(n.image)} className='fa fa-image'></i></Tooltip> : ""}</td>
</tr>
)
}) : <tr>
<td colSpan="9" align="center">{this.props.t('noData')}</td>
<td colSpan="9" align="center">No Data Available</td>
</tr>
}
</tbody>

Loading…
Cancel
Save