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