mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Clean out commented 'about' field
This commit is contained in:
parent
b10f32b772
commit
62ed50a73d
@ -47,14 +47,6 @@
|
||||
:label="$t('settings.data.labelName')"
|
||||
:placeholder="$t('settings.data.namePlaceholder')"
|
||||
/>
|
||||
<!-- Wolle <ds-input
|
||||
id="about"
|
||||
model="about"
|
||||
type="textarea"
|
||||
rows="3"
|
||||
:label="$t('settings.data.labelBio')"
|
||||
:placeholder="$t('settings.data.labelBio')"
|
||||
/> -->
|
||||
<ds-input
|
||||
id="password"
|
||||
model="password"
|
||||
@ -149,7 +141,6 @@ export default {
|
||||
supportEmail: emails.SUPPORT,
|
||||
formData: {
|
||||
name: '',
|
||||
// Wolle about: '',
|
||||
...passwordForm.formData,
|
||||
},
|
||||
formSchema: {
|
||||
@ -158,10 +149,6 @@ export default {
|
||||
required: true,
|
||||
min: 3,
|
||||
},
|
||||
// Wolle about: {
|
||||
// type: 'string',
|
||||
// required: false,
|
||||
// },
|
||||
...passwordForm.formSchema,
|
||||
},
|
||||
response: null, // Wolle
|
||||
@ -182,9 +169,6 @@ export default {
|
||||
this.formData.name = this.sliderData.collectedInputData.name
|
||||
? this.sliderData.collectedInputData.name
|
||||
: ''
|
||||
// Wolle this.formData.about = this.sliderData.collectedInputData.about
|
||||
// ? this.sliderData.collectedInputData.about
|
||||
// : ''
|
||||
this.formData.password = this.sliderData.collectedInputData.password
|
||||
? this.sliderData.collectedInputData.password
|
||||
: ''
|
||||
@ -247,7 +231,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
sendValidation() {
|
||||
// Wolle const { name, about, password, passwordConfirmation } = this.formData
|
||||
const { name, password, passwordConfirmation } = this.formData
|
||||
const {
|
||||
termsAndConditionsConfirmed,
|
||||
@ -260,7 +243,6 @@ export default {
|
||||
this.sliderData.setSliderValuesCallback(this.validInput, {
|
||||
collectedInputData: {
|
||||
name,
|
||||
// Wolle about,
|
||||
password,
|
||||
passwordConfirmation,
|
||||
termsAndConditionsConfirmed,
|
||||
@ -278,7 +260,6 @@ export default {
|
||||
this.sendValidation()
|
||||
},
|
||||
async submit() {
|
||||
// Wolle const { name, password, about } = this.formData
|
||||
const { name, password } = this.formData
|
||||
const { email, inviteCode = null, nonce } = this.sliderData.collectedInputData
|
||||
const termsAndConditionsAgreedVersion = VERSION
|
||||
@ -292,7 +273,6 @@ export default {
|
||||
variables: {
|
||||
name,
|
||||
password,
|
||||
// Wolle about,
|
||||
email,
|
||||
inviteCode,
|
||||
nonce,
|
||||
|
||||
@ -100,7 +100,6 @@ storiesOf('RegistrationSlider', module)
|
||||
name: 'Wolle',
|
||||
password: 'Hello',
|
||||
passwordConfirmation: 'Hello',
|
||||
// Wolle about: `Hey`,
|
||||
termsAndConditionsConfirmed: true,
|
||||
dataPrivacy: true,
|
||||
minimumAge: true,
|
||||
@ -134,7 +133,6 @@ storiesOf('RegistrationSlider', module)
|
||||
name: 'Wolle',
|
||||
password: 'Hello',
|
||||
passwordConfirmation: 'Hello',
|
||||
// Wolle about: `Hey`,
|
||||
termsAndConditionsConfirmed: true,
|
||||
dataPrivacy: true,
|
||||
minimumAge: true,
|
||||
@ -160,7 +158,6 @@ storiesOf('RegistrationSlider', module)
|
||||
name: null,
|
||||
password: null,
|
||||
passwordConfirmation: null,
|
||||
// Wolle about: null,
|
||||
termsAndConditionsConfirmed: null,
|
||||
dataPrivacy: null,
|
||||
minimumAge: null,
|
||||
@ -186,7 +183,6 @@ storiesOf('RegistrationSlider', module)
|
||||
name: 'Wolle',
|
||||
password: 'Hello',
|
||||
passwordConfirmation: 'Hello',
|
||||
// Wolle about: `Hey`,
|
||||
termsAndConditionsConfirmed: true,
|
||||
dataPrivacy: true,
|
||||
minimumAge: true,
|
||||
|
||||
@ -175,7 +175,6 @@ export default {
|
||||
name: null,
|
||||
password: null,
|
||||
passwordConfirmation: null,
|
||||
// Wolle about: null,
|
||||
termsAndConditionsConfirmed: null,
|
||||
dataPrivacy: null,
|
||||
minimumAge: null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user