aboutsummaryrefslogtreecommitdiff
path: root/src/components/registration/registration.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-03-25 22:29:17 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-03-25 22:29:17 +0000
commit2f1e69047882a1fc36f87dc1fff752bc76e61fa4 (patch)
treefffb162b2f2a8d923ac8abc2fc07c86c5efdc5f8 /src/components/registration/registration.js
parent854d0e80512d2da80cd5153144698a5148da4aa6 (diff)
parent5717d971829c54e4387b05725658e652b69a8b17 (diff)
Merge branch 'issue-442-placeholder-fix' into 'develop'
#442 - clean up Bio placeholder text Closes #442 See merge request pleroma/pleroma-fe!689
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,