refactored loadMaterials vuex mixins with graphql
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<img
|
||||
class="lazy"
|
||||
v-lazy="index"
|
||||
:data-src="img.img_styles.card_medium_half"
|
||||
:data-src="img.style_minicard.url"
|
||||
:title="img.title"
|
||||
/>
|
||||
<img class="blank" :src="blanksrc">
|
||||
@@ -56,12 +56,12 @@ export default {
|
||||
return this.loadingItem
|
||||
},
|
||||
onUnFlagCard (e) {
|
||||
console.log("Card onFlagActionCard", e);
|
||||
console.log("Card onFlagActionCard", e, this.item);
|
||||
if (!this.loadingItem) {
|
||||
this.loadingItem = true;
|
||||
this.flagUnflag({
|
||||
action: 'unflag',
|
||||
uuid: this.item.uuid,
|
||||
id: this.item.id,
|
||||
collid: this.collid
|
||||
})
|
||||
.then(data => {
|
||||
|
Reference in New Issue
Block a user