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 }) - }, - }, -}; + } + } +}