-
@@ -59,16 +58,6 @@
>{{ $t('displayInviteToPartyWhenPartyIs1') }}
-
-
@@ -256,17 +245,14 @@
import hello from 'hellojs';
import axios from 'axios';
import { mapState } from '@/libs/store';
-import restoreModal from './restoreModal';
import resetModal from './resetModal';
import deleteModal from './deleteModal';
import { SUPPORTED_SOCIAL_NETWORKS } from '@/../../common/script/constants';
import notificationsMixin from '../../mixins/notifications';
-import sounds from '../../libs/sounds';
import { buildAppleAuthUrl } from '../../libs/auth';
export default {
components: {
- restoreModal,
resetModal,
deleteModal,
},
@@ -375,9 +361,6 @@ export default {
});
}
},
- openRestoreModal () {
- this.$root.$emit('bv::show::modal', 'restore');
- },
openResetModal () {
this.$root.$emit('bv::show::modal', 'reset');
},
@@ -407,14 +390,6 @@ export default {
await axios.post('/api/v4/user/auth/local/register', this.localAuth);
window.location.href = '/user/settings/site';
},
- changeAudioTheme () {
- this.soundIndex = 0;
- this.set('sound');
- },
- playAudio () {
- this.$root.$emit('playSound', sounds[this.soundIndex]);
- this.soundIndex = (this.soundIndex + 1) % sounds.length;
- },
},
};
diff --git a/website/client/src/pages/settings/inlineSettings/displayNameSetting.vue b/website/client/src/pages/settings/inlineSettings/displayNameSetting.vue
index ba48d89a78..e2c41e795f 100644
--- a/website/client/src/pages/settings/inlineSettings/displayNameSetting.vue
+++ b/website/client/src/pages/settings/inlineSettings/displayNameSetting.vue
@@ -201,6 +201,8 @@ export default {
window.alert(this.$t('displayNameSuccess')); // eslint-disable-line no-alert
this.user.profile.name = newName;
this.temporaryDisplayName = newName;
+
+ this.closeModal();
},
validateDisplayName: debounce(async function checkName (displayName) {
if (displayName.length <= 1 || displayName === this.user.profile.name) {
diff --git a/website/client/src/pages/settings/inlineSettings/fixValuesSetting.vue b/website/client/src/pages/settings/inlineSettings/fixValuesSetting.vue
index 5478f2096c..e0f2bbd1c6 100644
--- a/website/client/src/pages/settings/inlineSettings/fixValuesSetting.vue
+++ b/website/client/src/pages/settings/inlineSettings/fixValuesSetting.vue
@@ -40,132 +40,42 @@
- "mana": "Mana",
- "hp": "HP",
- "mp": "MP",
- "xp": "XP",
- "health": "Health",
-
-
- {{ $t('health') }}
-
-