diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-03 16:14:46 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-26 09:46:44 +0100 |
commit | 10bda4ff03d08cb891dccb96a860c44650e1e5b6 (patch) | |
tree | d5252900f5a455d0c1ac3a78c6fe517698847356 /src/components | |
parent | f4d0368d1442ccfdfbe0418d0eb860da66e6fbe8 (diff) |
Show pins to moderators
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue index 03a37b912..e341440b4 100644 --- a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue +++ b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue @@ -91,6 +91,12 @@ v-if="canModerate && !isSearched" :aria-label="participantSettingsAriaLabel" class="participant-row__actions"> + <ActionText + v-if="attendeePin" + :title="t('spreed', 'Dial-in PIN')" + icon="icon-password"> + {{ attendeePin }} + </ActionText> <ActionButton v-if="canBeDemoted" icon="icon-rename" @click="demoteFromModerator"> @@ -114,6 +120,7 @@ <script> import ActionButton from '@nextcloud/vue/dist/Components/ActionButton' +import ActionText from '@nextcloud/vue/dist/Components/ActionText' import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip' import Actions from '@nextcloud/vue/dist/Components/Actions' import Microphone from 'vue-material-design-icons/Microphone' @@ -130,6 +137,7 @@ export default { components: { Actions, ActionButton, + ActionText, AvatarWrapper, Microphone, Phone, @@ -292,6 +300,9 @@ export default { lastPing() { return this.participant.lastPing }, + attendeePin() { + return this.participant.attendeePin + }, token() { return this.$store.getters.getToken() }, |