Commit bf3dfb6b authored by Axel Bocciarelli's avatar Axel Bocciarelli

Fix linting error

parent 1631c452
Pipeline #32835 passed with stages
in 11 minutes and 39 seconds
......@@ -20,6 +20,7 @@ function MyDataPage() {
myInvestigations,
(inv) => inv.visitId !== 'PROPOSAL'
); // TODO replace with `inv.type !== "PROPOSAL"` when available
const myIndustryProposals = filterInvestigations(
myInvestigations,
(inv) =>
......@@ -48,32 +49,33 @@ function MyDataPage() {
</Panel.Body>
</Panel>
{/* FIX Hiding for now, as users are mistakenly configuring shipping against proposals */}
{/* {myIndustryProposals.data.length > 0 && (
<Panel bsStyle="info">
<Panel.Heading>
<Panel.Title componentClass="h2">
<Glyphicon glyph="user" style={{ marginRight: 10 }} />
My Industry Proposals
</Panel.Title>
</Panel.Heading>
<Panel.Body>
<p>
You may create parcels for the proposals below if no sessions have
been scheduled for them.
</p>
{myIndustryProposals.fetching ? (
<Loader inPanel message="Loading proposals..." />
) : (
<InvestigationTable
investigations={myIndustryProposals.data}
showInvestigationStats
showProposalLinks
/>
)}
</Panel.Body>
</Panel>
)} */}
{
myIndustryProposals.data.length > 0 && null
// FIX Hiding for now, as users are mistakenly configuring shipping against proposals
// <Panel bsStyle="info">
// <Panel.Heading>
// <Panel.Title componentClass="h2">
// <Glyphicon glyph="user" style={{ marginRight: 10 }} />
// My Industry Proposals
// </Panel.Title>
// </Panel.Heading>
// <Panel.Body>
// <p>
// You may create parcels for the proposals below if no sessions have
// been scheduled for them.
// </p>
// {myIndustryProposals.fetching ? (
// <Loader inPanel message="Loading proposals..." />
// ) : (
// <InvestigationTable
// investigations={myIndustryProposals.data}
// showInvestigationStats
// showProposalLinks
// />
// )}
// </Panel.Body>
// </Panel>
}
</div>
);
}
......
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