diff --git a/package.json b/package.json
index 93afe3f75..4b6a62764 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "calckey",
- "version": "12.119.0-calc.13-rc.5",
+ "version": "12.119.0-calc.13-rc.6",
"codename": "aqua",
"repository": {
"type": "git",
diff --git a/packages/client/src/pages/explore.users.vue b/packages/client/src/pages/explore.users.vue
index 331812580..dd4115cf2 100644
--- a/packages/client/src/pages/explore.users.vue
+++ b/packages/client/src/pages/explore.users.vue
@@ -6,50 +6,50 @@
-
- {{ i18n.ts.pinnedUsers }}
+
+ {{ i18n.ts.pinnedUsers }}
-
- {{ i18n.ts.popularUsers }}
+
+ {{ i18n.ts.popularUsers }}
-
- {{ i18n.ts.recentlyUpdatedUsers }}
+
+ {{ i18n.ts.recentlyUpdatedUsers }}
-
- {{ i18n.ts.recentlyRegisteredUsers }}
+
+ {{ i18n.ts.recentlyRegisteredUsers }}
- {{ i18n.ts.popularTags }}
+ {{ i18n.ts.popularTags }}
- {{ t.tag }}
- {{ t.tag }}
+ {{ tag.tag }}
+ {{ tag.tag }}
- {{ tag }}
+ {{ tag }}
- {{ i18n.ts.popularUsers }}
+ {{ i18n.ts.popularUsers }}
- {{ i18n.ts.recentlyUpdatedUsers }}
+ {{ i18n.ts.recentlyUpdatedUsers }}
- {{ i18n.ts.recentlyDiscoveredUsers }}
+ {{ i18n.ts.recentlyDiscoveredUsers }}
@@ -65,27 +65,21 @@ import MkTab from '@/components/MkTab.vue';
import number from '@/filters/number';
import * as os from '@/os';
import { i18n } from '@/i18n';
-import { $i } from '@/account';
import { instance } from '@/instance';
const props = defineProps<{
- tag?: string;
-}>();
+ tag?: string;
+ }>();
let origin = $ref('local');
let tagsEl = $ref
>();
let tagsLocal = $ref([]);
let tagsRemote = $ref([]);
-let thereArePinnedUsers = $ref(false);
watch(() => props.tag, () => {
if (tagsEl) tagsEl.toggleContent(props.tag == null);
});
-watch(() => pinnedUsersList, () => {
- if (pinnedUsersList?.length > 0) thereArePinnedUsers = true;
-});
-
const tagUsers = $computed(() => ({
endpoint: 'hashtags/users' as const,
limit: 30,
@@ -96,11 +90,7 @@ const tagUsers = $computed(() => ({
},
}));
-const pinnedUsersList = await os.api('pinned-users');
-
-if (pinnedUsersList?.length > 0) { thereArePinnedUsers = true; }
-
-const pinnedUsers = { endpoint: 'pinned-users', limit: 10 };
+const pinnedUsers = { endpoint: 'pinned-users' };
const popularUsers = { endpoint: 'users', limit: 10, noPaging: true, params: {
state: 'alive',
origin: 'local',
@@ -145,14 +135,15 @@ os.api('hashtags/list', {
});
-
+
+