minor fixe on blabla's article: lightbox, flag/unflag

This commit is contained in:
Bachir Soussi Chiadmi 2020-12-01 21:10:06 +01:00
parent 564a1638fc
commit 8f854ff287
4 changed files with 19 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -31,6 +31,7 @@ import VLeftContent from 'vuejs/components/Content/LeftContent'
import { mapState } from 'vuex'
// require('theme/assets/styles/main.scss');
import 'vue-cool-lightbox/dist/vue-cool-lightbox.min.css'
import 'theme/assets/styles/main.scss'
(function (Drupal, drupalSettings, drupalDecoupled) {

View File

@ -304,7 +304,7 @@ export default {
break;
case 'field_linked_materials':
field = included.attributes
field.id = included.id
field.id = field.uuid = included.id
// get the linked material included images
field.images = [];
included.relationships.images.data.forEach((img) => {