chore: add prettier frontent linter

This commit is contained in:
Oleg Lobanov committed 2021-03-21 12:51:58 +01:00
1 parent a721dc1f31
commit c44b37c50c
73 files changed
+18898 -4499

No files matched your search

+9 -16
View File
@@ -1,5 +1,5 @@
<template>
<button @click="action" :aria-label="label" :title="label" class="action">
<button @click="action" :aria-label="label" :title="label" class="action">
<i class="material-icons">{{ icon }}</i>
<span>{{ label }}</span>
<span v-if="counter > 0" class="counter">{{ counter }}</span>
@@ -8,25 +8,18 @@
<script>
export default {
name: 'action',
props: [
'icon',
'label',
'counter',
'show'
],
name: "action",
props: ["icon", "label", "counter", "show"],
methods: {
action: function () {
if (this.show) {
this.$store.commit('showHover', this.show)
this.$store.commit("showHover", this.show);
}
this.$emit('action')
}
}
}
this.$emit("action");
},
},
};
</script>
<style>
</style>
<style></style>