Icon: member leave and moderator delete

This commit is contained in:
10G Meow 2023-02-13 14:25:37 +02:00
parent 3235c33f5b
commit b73bb2a8fc
6 changed files with 36 additions and 25 deletions

View file

@ -25,27 +25,32 @@
<v-btn
id="btn-purge-room"
v-if="userCanPurgeRoom"
class="mx-2 box-shadow-none"
fab
dark
small
color="red"
depressed
class="filled-button"
@click.stop="showPurgeConfirmation = true"
>
{{ $t("room_info.purge") }}
<v-icon light>$vuetify.icons.ic_moderator-delete</v-icon>
</v-btn>
<v-btn
id="btn-leave-room"
text
class="leave-button"
class="mx-2 box-shadow-none"
fab
dark
small
color="red"
@click.stop="leaveRoom"
v-else
>
{{ $t("room.leave") }}
<v-icon>$vuetify.icons.ic_member-leave</v-icon>
</v-btn>
</v-col>
<v-col cols="auto" class="text-end ma-0 pa-0 ms-2">
<v-avatar
class="avatar-32 clickable"
size="32"
size="40"
color="#e0e0e0"
@click.stop="showProfileInfo = true"
>