Added user select box to achievement pages
This commit is contained in:
@@ -12,6 +12,7 @@ import {useFlights} from "@/Composables/useFlights";
|
||||
import InlineBadge from "@/Components/FlightsGoneBy/InlineBadge.vue";
|
||||
import GlassTooltip from "@/Components/FlightsGoneBy/GlassTooltip.vue";
|
||||
import ButtonLink from "@/Components/FlightsGoneBy/ButtonLink.vue";
|
||||
import FollowingSelectBox from "@/Components/FlightsGoneBy/FollowingSelectBox.vue";
|
||||
|
||||
defineOptions({ layout: MainLayout })
|
||||
|
||||
@@ -119,6 +120,14 @@ const unlocked = computed(() => {
|
||||
:families="aircraft_families"
|
||||
:major-alliances="majorAlliances"
|
||||
/>
|
||||
|
||||
<Panel>
|
||||
<FollowingSelectBox
|
||||
redirect-route="profile.achievement"
|
||||
:route-params="{ achievement: achievement.internal_name }"
|
||||
placeholder="View the Progress of Someone You Follow"
|
||||
/>
|
||||
</Panel>
|
||||
</div>
|
||||
</ProfileLayout>
|
||||
</template>
|
||||
|
||||
@@ -9,6 +9,7 @@ import MainLayout from "@/Layouts/MainLayout.vue";
|
||||
import Panel from "@/Components/FlightsGoneBy/Panels/Panel.vue";
|
||||
import PanelHeader from "@/Components/FlightsGoneBy/Panels/PanelHeader.vue";
|
||||
import {useUpdateSetting} from "@/Composables/useUpdateSetting";
|
||||
import FollowingSelectBox from "@/Components/FlightsGoneBy/FollowingSelectBox.vue";
|
||||
|
||||
const {updateSetting} = useUpdateSetting()
|
||||
|
||||
@@ -121,6 +122,10 @@ const filteredUnlockedCount = computed(() =>
|
||||
/>
|
||||
</div>
|
||||
</Panel>
|
||||
|
||||
<Panel>
|
||||
<FollowingSelectBox redirect-route="profile.achievements" placeholder="View The Achievements of Someone You Follow" />
|
||||
</Panel>
|
||||
</div>
|
||||
</ProfileLayout>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user