From ea1c27000b676205791705afcfaab554715552d1 Mon Sep 17 00:00:00 2001 From: "hoeppner.dataport" Date: Tue, 10 Dec 2024 17:54:55 +0100 Subject: [PATCH 1/8] initial commit --- .../data/room/roomMembers/roomMembers.composable.ts | 3 +++ .../feature/room/RoomMembers/MembersTable.vue | 4 +++- src/modules/page/room/RoomMembers.page.vue | 12 +++++++++++- src/serverApi/v3/api.ts | 10 ++++++++++ 4 files changed, 27 insertions(+), 2 deletions(-) diff --git a/src/modules/data/room/roomMembers/roomMembers.composable.ts b/src/modules/data/room/roomMembers/roomMembers.composable.ts index b5fceb22f1..76429f4e4b 100644 --- a/src/modules/data/room/roomMembers/roomMembers.composable.ts +++ b/src/modules/data/room/roomMembers/roomMembers.composable.ts @@ -27,7 +27,10 @@ export const useRoomMembers = (roomId: string) => { }; const userRoles: Record = { + [RoleName.Roomowner]: t("common.labels.teacher"), + [RoleName.Roomadmin]: t("common.labels.teacher"), [RoleName.Roomeditor]: t("common.labels.teacher"), + [RoleName.Roomviewer]: t("common.labels.teacher"), }; const roomApi = RoomApiFactory(undefined, "/v3", $axios); diff --git a/src/modules/feature/room/RoomMembers/MembersTable.vue b/src/modules/feature/room/RoomMembers/MembersTable.vue index d8ba934427..8fc94ec028 100644 --- a/src/modules/feature/room/RoomMembers/MembersTable.vue +++ b/src/modules/feature/room/RoomMembers/MembersTable.vue @@ -56,6 +56,7 @@ item-value="userId" mobile-breakpoint="sm" :items="memberList" + item-selectable="isSelectable" :headers="tableHeader" :items-per-page-options="[5, 10, 25, 50, 100]" :items-per-page="50" @@ -69,6 +70,7 @@