From c2f0a2389af5b478d9473b866de4b2f129b7c9b1 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Sat, 15 Sep 2018 16:32:55 +0200 Subject: [PATCH] Add missing this when calling $t in the flatstableline component; --- flatisfy/web/js_src/components/flatstableline.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatisfy/web/js_src/components/flatstableline.vue b/flatisfy/web/js_src/components/flatstableline.vue index f1b2c5d..dd5f979 100644 --- a/flatisfy/web/js_src/components/flatstableline.vue +++ b/flatisfy/web/js_src/components/flatstableline.vue @@ -69,7 +69,7 @@ export default { computed: { capitalizedStatus() { - return capitalize($t('status.followed')); + return capitalize(this.$t('status.followed')); }, photo() { if (this.flat.photos && this.flat.photos.length > 0) {