diff --git a/packages/client/src/pages/admin/overview.stats.vue b/packages/client/src/pages/admin/overview.stats.vue index b6d9e0bf1..35f74953d 100644 --- a/packages/client/src/pages/admin/overview.stats.vue +++ b/packages/client/src/pages/admin/overview.stats.vue @@ -22,7 +22,7 @@ :value="usersComparedToThePrevDay" > -
Users
+
{{ i18n.ts.users }}
@@ -41,7 +41,7 @@ :value="notesComparedToThePrevDay" >
-
Posts
+
{{ i18n.ts.notes }}
@@ -55,7 +55,7 @@ style="margin-right: 0.5em" />
-
Instances
+
{{ i18n.ts.instances }}
@@ -69,10 +69,24 @@ style="margin-right: 0.5em" />
-
Online
+
{{ i18n.ts.online }}
+
+
+ +
+
+
+ +
+
{{ i18n.ts.emojis }}
+
+
@@ -90,6 +104,7 @@ let stats: any = $ref(null); let usersComparedToThePrevDay = $ref(); let notesComparedToThePrevDay = $ref(); let onlineUsersCount = $ref(0); +let emojiCount = $ref(0); let fetching = $ref(true); onMounted(async () => { @@ -110,6 +125,10 @@ onMounted(async () => { stats.originalNotesCount - chart.local.total[1]; }); + os.apiGet("meta").then((meta) => { + emojiCount = meta.emojis.length; + }); + fetching = false; });