Following Select Box Shows only When User Is Following People

This commit is contained in:
2026-07-22 21:46:02 +10:00
parent 7cecdb6bde
commit 8832028304
3 changed files with 8 additions and 10 deletions
@@ -30,7 +30,9 @@ function onUpdate(user: string) {
</script> </script>
<template> <template>
<VSelect <VSelect
v-if="following.length > 1"
:placeholder="placeholder" :placeholder="placeholder"
variant="outlined" variant="outlined"
density="comfortable" density="comfortable"
@@ -121,13 +121,11 @@ const unlocked = computed(() => {
:major-alliances="majorAlliances" :major-alliances="majorAlliances"
/> />
<Panel> <FollowingSelectBox
<FollowingSelectBox redirect-route="profile.achievement"
redirect-route="profile.achievement" :route-params="{ achievement: achievement.internal_name }"
:route-params="{ achievement: achievement.internal_name }" placeholder="View the Progress of Someone You Follow"
placeholder="View the Progress of Someone You Follow" />
/>
</Panel>
</div> </div>
</ProfileLayout> </ProfileLayout>
</template> </template>
+1 -3
View File
@@ -123,9 +123,7 @@ const filteredUnlockedCount = computed(() =>
</div> </div>
</Panel> </Panel>
<Panel> <FollowingSelectBox redirect-route="profile.achievements" placeholder="View The Achievements of Someone You Follow" />
<FollowingSelectBox redirect-route="profile.achievements" placeholder="View The Achievements of Someone You Follow" />
</Panel>
</div> </div>
</ProfileLayout> </ProfileLayout>
</template> </template>