Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
doi-landing-page
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ICAT
doi-landing-page
Commits
c853cc0c
Commit
c853cc0c
authored
4 days ago
by
Marjolaine Bodin
Browse files
Options
Downloads
Patches
Plain Diff
#128
fix check to hide box
parent
d24e007f
Branches
128-related_resources_box
No related tags found
1 merge request
!142
Resolve "Related Resources box"
Pipeline
#231918
passed
4 days ago
Stage: validate
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/doi/src/components/DOIInfo/DOIRelated.tsx
+1
-1
1 addition, 1 deletion
packages/doi/src/components/DOIInfo/DOIRelated.tsx
with
1 addition
and
1 deletion
packages/doi/src/components/DOIInfo/DOIRelated.tsx
+
1
−
1
View file @
c853cc0c
...
...
@@ -6,7 +6,7 @@ import { Suspense } from 'react';
import
{
Card
}
from
'
react-bootstrap
'
;
export
function
DOIRelated
({
doi
}:
{
doi
:
DOI
})
{
if
(
doi
.
relatedDOI
?.
length
===
0
&&
!
doi
.
referenceURL
)
{
if
(
(
!
doi
.
relatedDOI
||
doi
.
relatedDOI
?.
length
===
0
)
&&
!
doi
.
referenceURL
)
{
return
null
;
}
return
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment