Commit a1c77b22 authored by Loic Huder's avatar Loic Huder

Fix experimentFormatter

parent 667d1d51
Pipeline #32595 passed with stages
in 8 minutes and 20 seconds
...@@ -53,15 +53,14 @@ export function volumeFormatter(cell, investigation) { ...@@ -53,15 +53,14 @@ export function volumeFormatter(cell, investigation) {
} }
} }
export function experimentFormatter(cell, investigation, rowIndex, extraData) { export function experimentFormatter(cell, investigation, rowIndex, props) {
return ( return (
<Grid style={{ textAlign: 'center' }}> <Grid style={{ textAlign: 'center' }}>
<Row className="show-grid"> <Row className="show-grid">
<Col xs={12} md={12}> <Col xs={12} md={12}>
{nameFormatter( {nameFormatter(
investigation, investigation,
extraData.props.withProposalLinks || props.withProposalLinks || props.user.isAdministrator
extraData.props.user.isAdministrator
)} )}
</Col> </Col>
</Row> </Row>
......
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