From 810a609df4d4037daf77bf6dbf2b38b9457bb0dd Mon Sep 17 00:00:00 2001 From: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 3 Jun 2025 17:20:11 +0900 Subject: fix(frontend): 一部のグリッドのページネーションが正しく表示されない問題を修正 (#16147) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(frontend): 一部のグリッドのページネーションが正しく表示されない問題を修正 * update changelog * fix --- packages/frontend/src/pages/instance-info.vue | 85 +++++++++++++-------------- 1 file changed, 42 insertions(+), 43 deletions(-) (limited to 'packages/frontend/src/pages/instance-info.vue') diff --git a/packages/frontend/src/pages/instance-info.vue b/packages/frontend/src/pages/instance-info.vue index 0057106411..7c5191276d 100644 --- a/packages/frontend/src/pages/instance-info.vue +++ b/packages/frontend/src/pages/instance-info.vue @@ -7,9 +7,9 @@ SPDX-License-Identifier: AGPL-3.0-only
-
- - {{ instance.name || `(${i18n.ts.unknown})` }} +
+ + {{ instance.name || `(${i18n.ts.unknown})` }}
@@ -90,8 +90,8 @@ SPDX-License-Identifier: AGPL-3.0-only
-
-
+
+
@@ -106,19 +106,21 @@ SPDX-License-Identifier: AGPL-3.0-only
-
-
{{ i18n.tsx.recentNHours({ n: 90 }) }}
- -
{{ i18n.tsx.recentNDays({ n: 90 }) }}
- +
+
{{ i18n.tsx.recentNHours({ n: 90 }) }}
+ +
{{ i18n.tsx.recentNDays({ n: 90 }) }}
+
- - - - + +
+ + + +
@@ -180,7 +182,7 @@ const usersPagination = { hostname: props.host, }, offsetMode: true, -} satisfies PagingCtx; +} satisfies PagingCtx<'admin/show-users' | 'users'>; if (iAmModerator) { watch(moderationNote, async () => { @@ -281,7 +283,7 @@ const headerTabs = computed(() => [{ key: 'overview', title: i18n.ts.overview, icon: 'ti ti-info-circle', -}, { +}, ...(iAmModerator ? [{ key: 'chart', title: i18n.ts.charts, icon: 'ti ti-chart-line', @@ -289,7 +291,7 @@ const headerTabs = computed(() => [{ key: 'users', title: i18n.ts.users, icon: 'ti ti-users', -}, { +}] : []), { key: 'raw', title: 'Raw', icon: 'ti ti-code', @@ -301,34 +303,31 @@ definePage(() => ({ })); - -- cgit v1.2.3-freya