From f67ec66d9b9397fc430572cf7c37c126424c6f64 Mon Sep 17 00:00:00 2001 From: dohseven Date: Tue, 15 Jan 2019 22:05:46 +0100 Subject: [PATCH] Make linter happy --- flatisfy/web/js_src/components/flatstable.vue | 6 ++--- .../web/js_src/components/flatstableline.vue | 26 +++++++++---------- flatisfy/web/js_src/components/slider.vue | 10 +++---- flatisfy/web/js_src/i18n/en/index.js | 2 +- flatisfy/web/js_src/views/home.vue | 4 +-- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/flatisfy/web/js_src/components/flatstable.vue b/flatisfy/web/js_src/components/flatstable.vue index 6d4d632..c0a74f7 100644 --- a/flatisfy/web/js_src/components/flatstable.vue +++ b/flatisfy/web/js_src/components/flatstable.vue @@ -56,13 +56,13 @@ diff --git a/flatisfy/web/js_src/components/flatstableline.vue b/flatisfy/web/js_src/components/flatstableline.vue index 86bcf1b..e7e60dc 100644 --- a/flatisfy/web/js_src/components/flatstableline.vue +++ b/flatisfy/web/js_src/components/flatstableline.vue @@ -66,33 +66,33 @@ export default { props: { flat: Object, showNotationColumn: Boolean, - showNotes: Boolean, + showNotes: Boolean }, computed: { - capitalizedStatus() { - return capitalize(this.$t('status.followed')); + capitalizedStatus () { + return capitalize(this.$t('status.followed')) }, - photo() { + photo () { if (this.flat.photos && this.flat.photos.length > 0) { if (this.flat.photos[0].local) { - return `/data/img/${this.flat.photos[0].local}`; + return `/data/img/${this.flat.photos[0].local}` } - return this.flat.photos[0].url; + return this.flat.photos[0].url } - return null; - }, - notationRange() { - return range(this.flat.notation); + return null }, + notationRange () { + return range(this.flat.notation) + } }, methods: { updateFlatStatus (id, status) { this.$store.dispatch('updateFlatStatus', { flatId: id, newStatus: status }) - }, - }, -}; + } + } +}