more fixes
This commit is contained in:
@@ -228,6 +228,7 @@ export default {
|
||||
},
|
||||
save () {
|
||||
if (!this.validateInputs()) {
|
||||
console.info('invalid1!!');
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -264,10 +265,10 @@ export default {
|
||||
let valid = true;
|
||||
|
||||
for (const stat of canRestore) {
|
||||
if (this.restoreValues.stats[stat] === ''
|
||||
|| this.restoreValues.stats[stat] < 0
|
||||
if (this.restoreValues[stat] === ''
|
||||
|| this.restoreValues[stat] < 0
|
||||
) {
|
||||
this.restoreValues.stats[stat] = this.user.stats[stat];
|
||||
this.restoreValues[stat] = this.user.stats[stat];
|
||||
valid = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
v-once
|
||||
class="dialog-disclaimer"
|
||||
>
|
||||
<span>{{ $t("americanEnglishGovern") }}</span>
|
||||
<span>{{ $t("americanEnglishGovern") }} </span>
|
||||
<span v-html="$t('helpWithTranslation')"></span>
|
||||
</div>
|
||||
<div class="input-area">
|
||||
|
||||
@@ -54,12 +54,16 @@
|
||||
<li v-once>
|
||||
{{ $t('resetDetail4') }}
|
||||
</li>
|
||||
|
||||
<li v-once>
|
||||
{{ $t('resetDetail5') }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-once
|
||||
v-html="$t('resetDetail5')"
|
||||
v-html="$t('resetDetail6')"
|
||||
>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user