diff --git a/client/src/components/admin/Notifications/NotificationForm.vue b/client/src/components/admin/Notifications/NotificationForm.vue index 0da44f530c75..37704c354c44 100644 --- a/client/src/components/admin/Notifications/NotificationForm.vue +++ b/client/src/components/admin/Notifications/NotificationForm.vue @@ -83,12 +83,8 @@ async function loadData( target: Ref, formatter: (item: T) => SelectOption ) { - try { - const tmp = await getData(); - target.value = tmp.map(formatter); - } catch (error) { - Toast.error(errorMessageAsString(error)); - } + const tmp = await getData(); + target.value = tmp.map(formatter); } async function getAllGroups() {