diff --git a/package.json b/package.json
index 716ba82528..06ae03b8cb 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "calckey",
- "version": "12.119.0-calc.12.4",
+ "version": "12.119.0-calc.12.5",
"codename": "aqua",
"repository": {
"type": "git",
diff --git a/packages/client/src/pages/explore.users.vue b/packages/client/src/pages/explore.users.vue
index ac8ece1e17..b97825e2a9 100644
--- a/packages/client/src/pages/explore.users.vue
+++ b/packages/client/src/pages/explore.users.vue
@@ -6,7 +6,7 @@
-
+
{{ i18n.ts.pinnedUsers }}
@@ -75,11 +75,16 @@ 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,
@@ -90,8 +95,9 @@ const tagUsers = $computed(() => ({
},
}));
-const pinnedUsersList = os.api('pinned-users');
-console.log(pinnedUsersList);
+const pinnedUsersList = await os.api('pinned-users');
+
+if (pinnedUsersList?.length > 0) { thereArePinnedUsers = true; }
const pinnedUsers = { endpoint: 'pinned-users' };
const popularUsers = { endpoint: 'users', limit: 10, noPaging: true, params: {