From 258398106d96c6d9dffa5e770d2a8710ac986828 Mon Sep 17 00:00:00 2001 From: Murat Merdoglu Date: Fri, 20 Dec 2024 15:39:10 +0100 Subject: [PATCH] implement calculation of positioning --- .../room/roomMembers/roomMembers.composable.ts | 4 +++- .../feature/room/RoomMembers/MembersTable.vue | 14 ++++++++++++++ src/modules/page/room/RoomMembers.page.vue | 15 +++++++++++++-- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/modules/data/room/roomMembers/roomMembers.composable.ts b/src/modules/data/room/roomMembers/roomMembers.composable.ts index d500b19ea3..6105932056 100644 --- a/src/modules/data/room/roomMembers/roomMembers.composable.ts +++ b/src/modules/data/room/roomMembers/roomMembers.composable.ts @@ -67,7 +67,9 @@ export const useRoomMembers = (roomId: string) => { try { const result = ( await schoolApi.schoolControllerGetTeachers( - payload.schoolId ?? ownSchool.id + payload.schoolId ?? ownSchool.id, + 0, + 100 // TODO: should be not paginated ) ).data; diff --git a/src/modules/feature/room/RoomMembers/MembersTable.vue b/src/modules/feature/room/RoomMembers/MembersTable.vue index 1933d58a2a..bd25f6859e 100644 --- a/src/modules/feature/room/RoomMembers/MembersTable.vue +++ b/src/modules/feature/room/RoomMembers/MembersTable.vue @@ -1,6 +1,8 @@