Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Datahub
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
93
Issues
93
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ICAT
Datahub
Commits
bf3dfb6b
Commit
bf3dfb6b
authored
Sep 04, 2020
by
Axel Bocciarelli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix linting error
parent
1631c452
Pipeline
#32835
passed with stages
in 11 minutes and 39 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
26 deletions
+28
-26
src/containers/MyDataPage.js
src/containers/MyDataPage.js
+28
-26
No files found.
src/containers/MyDataPage.js
View file @
bf3dfb6b
...
...
@@ -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
>
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment