From a5ab8ceb47d78fcff33d025cb75a70bc911f6848 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Thu, 20 Aug 2020 20:29:58 +0300 Subject: [PATCH] Add select for actor type, remove default select styles --- .../users/components/ModerationDropdown.vue | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/src/views/users/components/ModerationDropdown.vue b/src/views/users/components/ModerationDropdown.vue index 4ae3d7f2..6aa939d0 100644 --- a/src/views/users/components/ModerationDropdown.vue +++ b/src/views/users/components/ModerationDropdown.vue @@ -16,8 +16,17 @@ + + + + + + {{ user.roles.admin ? $t('users.revokeAdmin') : $t('users.grantAdmin') }} @@ -137,6 +146,11 @@ export default { default: '' } }, + data() { + return { + actorType: '' + } + }, computed: { isDesktop() { return this.$store.state.app.device === 'desktop' @@ -225,6 +239,39 @@ export default {