replaced coollightbox src by watermarked img

This commit is contained in:
2020-12-25 11:33:39 +01:00
parent c1f117d7bb
commit f65e8fb140
9 changed files with 95 additions and 95 deletions

View File

@ -35,16 +35,6 @@ export default {
// actions
actions: {
getItems ({ dispatch, commit, state }) {
// if(!state.contenttype){
// REST.get('/entity/node_type/article?_format=json', {})
// .then(({ data }) => {
// console.log('blabla REST contenttype : data', data);
// })
// .catch(( error ) => {
// console.warn('Issue with blabla contenttype', error)
// Promise.reject(error)
// })
// }
return REST.get(`/blabla_rest?_format=json&page=${state.page}`, {})
.then(({ data }) => {
console.log('blabla REST: data', data)
@ -70,8 +60,8 @@ export default {
getItemIndex ({ dispatch, commit, state }, nid) {
console.log('getItemIndex nid', nid)
return state.items.findIndex((e) => {
// console.log('findIndex', e, nid);
return e.nid === nid
console.log('findIndex', e.nid, nid);
return e.nid == nid
})
},
getPrevNextItems ({ dispatch, commit, state }, index) {