more fixes

This commit is contained in:
negue
2023-07-02 20:16:06 +02:00
parent 203e961464
commit 35c75304f1
4 changed files with 12 additions and 7 deletions
@@ -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>