diff --git a/src/views/users/index.vue b/src/views/users/index.vue
index 32adca8b..ea892416 100644
--- a/src/views/users/index.vue
+++ b/src/views/users/index.vue
@@ -56,10 +56,20 @@
-
- {{ scope.row.deactivated ? $t('users.deactivated') : $t('users.active') }}
-
+
+ {{ $t('users.active') }}
+
+
+ {{ $t('users.deactivated') }}
+
+
+
+
+ {{ $t('users.unapproved') }}
+
+
+
{{ isDesktop ? $t('users.admin') : getFirstLetter($t('users.admin')) }}
@@ -71,11 +81,6 @@
{{ isDesktop ? $t('users.unconfirmed') : getFirstLetter($t('users.unconfirmed')) }}
-
-
- {{ isDesktop ? $t('users.unapproved') : getFirstLetter($t('users.unapproved')) }}
-
-
@@ -199,9 +204,6 @@ export default {
this.$store.dispatch('ClearUsersState')
},
methods: {
- activationIcon(status) {
- return status ? 'el-icon-error' : 'el-icon-success'
- },
clearSelection() {
this.$refs.usersTable.clearSelection()
},
@@ -366,16 +368,12 @@ export default {
}
.el-table__row {
.el-tag {
+ display: flex;
+ align-items: center;
+ justify-content: center;
width: 30px;
- display: inline-block;
margin-bottom: 4px;
font-weight: bold;
- &.el-tag--success {
- padding-left: 8px;
- }
- &.el-tag--danger {
- padding-left: 8px;
- }
}
}
.reboot-button {