-
- {{ $t('entity.calendar.namePlural') }}
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('entity.calendar.namePlural') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('error.default.title') }}
+
+
+ {{ $t('entity.calendar.error.cannotFindAny') }}
+
+
+
+
-
- deployUpdateDialog(calendar)"
@on-delete="() => deployDeleteCalendarModal(calendar)" />
-
- isCreateCalendarModalOpen = true">
+ isCreateCalendarModalOpen = true">
{{ $t('entity.calendar.addSingle') }}
{{ $t('entity.calendar.addSingleFirst') }}
-
+
-
-
-
-
-
-
-
-
-
-
-
-
{{ $t("entity.world.notFound") }}
-
-
-
-
-
-
- {{ $t("entity.world.notFound") }}
-
-
-
- {{ $t('entity.world.notFoundDescription') }}
-
-
-
-
-
-
- {{ $t('entity.world.backToList') }}
-
-
-
-
-
+
+
+
diff --git a/i18n/i18n.config.ts b/i18n/i18n.config.ts
index 42651e7..c82fa02 100644
--- a/i18n/i18n.config.ts
+++ b/i18n/i18n.config.ts
@@ -241,6 +241,9 @@ export default defineI18nConfig(() => ({
title: "The event \"{event}\" has been successfuly deleted.",
},
},
+ error: {
+ cannotFindAny: "We couldn't fetch your calendars…"
+ },
actionDialog: {
tabs: {
general: {
@@ -571,6 +574,9 @@ export default defineI18nConfig(() => ({
title: "L'évènement \"{event}\" a été supprimé avec succès.",
},
},
+ error: {
+ cannotFindAny: "Nous n'avons pas pu récupérer vos calendriers…"
+ },
actionDialog: {
tabs: {
general: {
diff --git a/nuxt.config.ts b/nuxt.config.ts
index bfc0bd5..6c03ccc 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -69,4 +69,4 @@ export default defineNuxtConfig({
eslint: {},
compatibilityDate: "latest",
-})
\ No newline at end of file
+})
diff --git a/server/api/worlds/query.get.ts b/server/api/worlds/query.get.ts
index d0e3b8f..fedd802 100644
--- a/server/api/worlds/query.get.ts
+++ b/server/api/worlds/query.get.ts
@@ -41,12 +41,7 @@ export default defineEventHandler(async (event) => {
state,
createdAt:created_at,
updatedAt:updated_at,
- calendars (
- createdAt:created_at,
- updatedAt:updated_at,
- months:calendar_months(*),
- eventNb:calendar_events(count)
- )
+ gmId:gm_id
`
let output