Following Select Box Shows only When User Is Following People
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user