diff --git a/js/src/graphql/admin.ts b/js/src/graphql/admin.ts index 0d47b0fa7..768ed65ea 100644 --- a/js/src/graphql/admin.ts +++ b/js/src/graphql/admin.ts @@ -8,11 +8,18 @@ export const DASHBOARD = gql` id uuid title + beginsOn picture { id alt url } + attributedTo { + ...ActorFragment + } + organizerActor { + ...ActorFragment + } } lastGroupCreated { ...ActorFragment diff --git a/js/src/views/Admin/DashboardView.vue b/js/src/views/Admin/DashboardView.vue index 932d6c36d..cac05b8dd 100644 --- a/js/src/views/Admin/DashboardView.vue +++ b/js/src/views/Admin/DashboardView.vue @@ -64,61 +64,14 @@ }" /> -
-
-
- -

{{ t("Last published event") }}

-

- {{ dashboard?.lastPublicEventPublished.title }} -

-
- -
-
-
+
+
+

{{ t('Last published event')}}

+
-
-
- -

{{ t("Last group created") }}

-

- {{ - dashboard?.lastGroupCreated.name || - dashboard?.lastGroupCreated.preferredUsername - }} -

-
- -
-
-
+
+

{{ t('Last group created')}}

+
@@ -127,7 +80,6 @@