diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Global/PageTitle.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Global/PageTitle.vue b/src/components/Global/PageTitle.vue index 5c64f0d6..59bb6a1e 100644 --- a/src/components/Global/PageTitle.vue +++ b/src/components/Global/PageTitle.vue @@ -14,10 +14,10 @@ export default { default: '' } }, - data() { - return { - title: this.$route.meta.title - }; + computed: { + title() { + return this.$t(this.$route.meta.title); + } } }; </script> |