Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Helmholtz Centre for Environmental Research – UFZ
IT
RDM
BioMe
tmd
frontend
Commits
b599acd5
Commit
b599acd5
authored
3 years ago
by
Lars Kollmann
Browse files
Options
Downloads
Patches
Plain Diff
#370
add hasImageRefs-Check to prevent errors due null
parent
97af7806
No related branches found
No related tags found
2 merge requests
!377
merge develop in to master
,
!348
Resolve "Umzug der gen.Filter"
Pipeline
#421469
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/components/shared/sharedFilter/SharedTable.ts
+1
-1
1 addition, 1 deletion
app/src/components/shared/sharedFilter/SharedTable.ts
with
1 addition
and
1 deletion
app/src/components/shared/sharedFilter/SharedTable.ts
+
1
−
1
View file @
b599acd5
...
...
@@ -231,7 +231,7 @@ export default class SharedTable extends Vue {
if
(
item
.
sectionEvents
)
{
item
.
sectionEvents
.
collection
.
forEach
((
event
)
=>
{
imageRefsUrl
=
[];
if
(
event
.
imageRefs
.
collection
.
length
)
{
if
(
this
.
hasImageRefs
(
event
)
)
{
event
.
imageRefs
.
collection
.
forEach
((
imageRef
)
=>
{
imageRef
.
thumbnailRefs
.
collection
.
filter
((
thumbnailRef
)
=>
{
if
(
thumbnailRef
.
url
.
includes
(
"
medium
"
))
{
...
...
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