From 34f52c06a68d38a489ca6fc6dc884686896a562d Mon Sep 17 00:00:00 2001 From: Philipp Fischbeck Date: Sun, 31 Jul 2022 20:08:48 +0200 Subject: [PATCH] fix: properly use pagination for group event notifiers (#1512) --- frontend/pages/group/notifiers.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/pages/group/notifiers.vue b/frontend/pages/group/notifiers.vue index 61709331646d..14ab22aeed6d 100644 --- a/frontend/pages/group/notifiers.vue +++ b/frontend/pages/group/notifiers.vue @@ -54,7 +54,7 @@ - + @@ -130,12 +130,12 @@ export default defineComponent({ const notifiers = useAsync(async () => { const { data } = await api.groupEventNotifier.getAll(); - return data ?? []; + return data?.items; }, useAsyncKey()); async function refreshNotifiers() { const { data } = await api.groupEventNotifier.getAll(); - notifiers.value = data ?? []; + notifiers.value = data?.items; } const createNotifierData: GroupEventNotifierCreate = reactive({