displaying only first img in article linked materials as all but first image derivative are missing, still to fix
This commit is contained in:
parent
987bc95326
commit
d7a701c8f5
File diff suppressed because one or more lines are too long
|
@ -226,10 +226,12 @@ export default {
|
|||
field.images = [];
|
||||
included.relationships.images.data.forEach((img) => {
|
||||
// console.log('href', img.meta.imageDerivatives.links.card_medium.href);
|
||||
if(img.meta.imageDerivatives){
|
||||
field.images.push({
|
||||
title:img.meta.title,
|
||||
url:img.meta.imageDerivatives.links.card_medium.href
|
||||
})
|
||||
}
|
||||
})
|
||||
break;
|
||||
case 'field_thesaurus':
|
||||
|
|
Loading…
Reference in New Issue