Lint + ES6

This commit is contained in:
Liyas Thomas
2020-10-21 12:20:32 +05:30
parent 774853af7a
commit f49c2138de
25 changed files with 263 additions and 212 deletions

View File

@@ -368,8 +368,8 @@ export default {
useHistory(entry) {
this.$emit("useHistory", entry)
},
findEntryStatus(entry) {
const foundStatusGroup = findStatusGroup(entry.status)
findEntryStatus({ status }) {
const foundStatusGroup = findStatusGroup(status)
return (
foundStatusGroup || {
className: "",

View File

@@ -452,11 +452,5 @@ export default {
}
},
},
computed: {
availableLocales() {
return this.$i18n.locales.filter((i) => i.code !== this.$i18n.locale)
},
},
}
</script>