Merge branch 'fix-activation-status' into 'develop'

Fix active users being displayed as deactivated in the user view

See merge request pleroma/admin-fe!79
This commit is contained in:
feld 2020-01-21 19:36:27 +00:00
commit f01efc175a

View file

@ -51,8 +51,8 @@
<tr class="el-table__row">
<td>{{ $t('userProfile.activeUppercase') }}</td>
<td>
<el-tag v-if="user.deactivated" type="success">{{ $t('userProfile.active') }}</el-tag>
<el-tag v-if="!user.deactivated" type="danger">{{ $t('userProfile.deactivated') }}</el-tag>
<el-tag v-if="!user.deactivated" type="success">{{ $t('userProfile.active') }}</el-tag>
<el-tag v-if="user.deactivated" type="danger">{{ $t('userProfile.deactivated') }}</el-tag>
</td>
</tr>
</tbody>