aboutsummaryrefslogtreecommitdiff
path: root/src/components/registration/registration.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-03-27 19:48:41 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-03-27 19:48:41 +0000
commitea50f55148f059549a586fb136eaa62963e33e66 (patch)
treec8178a76a0f7a5cf4817abeae8ab263375683e6d /src/components/registration/registration.js
parent72749834f3c82847dd8b584cb0e0622a25f292f8 (diff)
parent3870adf51ff736617f48619d16553010d5e9c9b0 (diff)
Merge branch 'develop' into 'masto-api/direct'
# Conflicts: # src/services/api/api.service.js
Diffstat (limited to 'src/components/registration/registration.js')
-rw-r--r--src/components/registration/registration.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js
index ab6cd64d..8dc00420 100644
--- a/src/components/registration/registration.js
+++ b/src/components/registration/registration.js
@@ -35,6 +35,9 @@ const registration = {
},
computed: {
token () { return this.$route.params.token },
+ bioPlaceholder () {
+ return this.$t('registration.bio_placeholder').replace(/\s*\n\s*/g, ' \n')
+ },
...mapState({
registrationOpen: (state) => state.instance.registrationOpen,
signedIn: (state) => !!state.users.currentUser,