cleanup various lint issues

parent 383696aa
......@@ -516,7 +516,6 @@
</template>
<script>
import { API } from '../tic';
import Confirm from '../tags/Confirm';
import tic from '../tic';
import hiPartnerSelect from '../components/hiPartnerSelect';
import hiCopyright from '../components/hiCopyright';
......@@ -769,16 +768,16 @@ export default {
},
components: {
Confirm,
hiPartnerSelect,
hiCopyright
},
computed: {
...mapGetters('user', ['loginUuid', 'isAuthenticated']),
ts(t) {
if (this.item && this.item.activity)
ts() {
if (this.item && this.item.activity) {
return tic.theDate(this.item.activity.created);
}
return null;
}
},
......@@ -821,8 +820,8 @@ export default {
// user clicked on the info (meta) button
// not used?
showMeMeta(uuid) {
console.log('meta: ', this.meta);
showMeMeta() {
//console.log('meta: ', this.meta);
this.showMetaInfo = !this.showMetaInfo;
},
......@@ -877,7 +876,7 @@ export default {
//this.isChanged = true
this.$emit('change');
},
partnerUpdate(p) {
partnerUpdate() {
console.log('partner update in card');
this.$emit('change');
},
......@@ -893,7 +892,7 @@ export default {
url: url,
info: item,
partner: 'eu'
}).then(r => {
}).then(() => {
vm.$q.dialog({
title: 'Done',
message: 'Successfully added to your MyHistoriana Sources.'
......@@ -952,7 +951,7 @@ export default {
duplicateCard(e) {
this.$emit('xduplicateCard', e);
},
showSharing(e) {
showSharing() {
this.$emit('goShowSharing');
},
......@@ -974,7 +973,7 @@ export default {
});
},
confirmAddMH(item, index) {
confirmAddMH(item) {
// USER CLICKED ON ADD TO MY HISTORIANA
if (this.$store.getters['user/isAuthenticated']) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment