Skip to content
Snippets Groups Projects
Commit b599acd5 authored by Lars Kollmann's avatar Lars Kollmann
Browse files

#370 add hasImageRefs-Check to prevent errors due null

parent 97af7806
No related branches found
No related tags found
2 merge requests!377merge develop in to master,!348Resolve "Umzug der gen.Filter"
Pipeline #421469 passed
......@@ -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")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment