fix: show the GraphQL error if it exists in GroupEvents

For example, the error can be "Group not found".
This commit is contained in:
Massedil
2025-06-27 14:14:19 +02:00
parent 3cdba15b3a
commit 0de5d1e4e3

View File

@@ -1,4 +1,8 @@
<template>
<div class="container mx-auto" v-if="groupError">
<p>{{ groupError.message }}</p>
</div>
<div class="container mx-auto" v-if="group">
<breadcrumbs-nav
:links="[
@@ -170,6 +174,7 @@ watch(
const {
result: groupResult,
loading: groupLoading,
error: groupError,
refetch: refetch,
} = useQuery<
{