diff --git a/frontend/src/views/UserProfile.vue b/frontend/src/views/UserProfile.vue index 7c156512..c75f193a 100644 --- a/frontend/src/views/UserProfile.vue +++ b/frontend/src/views/UserProfile.vue @@ -64,7 +64,7 @@ export default Vue.extend({ email: this.form.email, }; - if (this.form.passwordLogin) { + if (this.form.passwordLogin && this.form.password) { if (this.form.password !== this.form.password2) { this.$utils.toast(this.$t('users.passwordMismatch'), 'is-danger'); return; diff --git a/frontend/src/views/Users.vue b/frontend/src/views/Users.vue index 6da957ce..4ac9daee 100644 --- a/frontend/src/views/Users.vue +++ b/frontend/src/views/Users.vue @@ -41,8 +41,13 @@ {{ props.row.username }} -
{{ props.row.name }}
+ + {{ $t(`users.status.${props.row.status}`) }} + +
+ {{ props.row.name }} +
{{ $t(`users.type.${props.row.type}`) }} - - {{ $t(`users.status.${props.row.status}`) }} -