feat(hunt): Show location on quest
This commit is contained in:
@@ -268,6 +268,16 @@ async function submit() {
|
|||||||
<p v-if="hasKey(data, 'question')">
|
<p v-if="hasKey(data, 'question')">
|
||||||
🖋: {{ t(`enums.text_type.${data.textType}`) }}
|
🖋: {{ t(`enums.text_type.${data.textType}`) }}
|
||||||
</p>
|
</p>
|
||||||
|
<VaButton
|
||||||
|
v-if="data.locationLink"
|
||||||
|
icon="open_in_new"
|
||||||
|
target="_blank"
|
||||||
|
:href="data.locationLink"
|
||||||
|
>{{ data.location ?? 'Location' }}</VaButton
|
||||||
|
>
|
||||||
|
<VaAlert v-else-if="data.location" class="w-full">{{
|
||||||
|
data.location
|
||||||
|
}}</VaAlert>
|
||||||
<VaDivider v-if="hasKey(data, 'extraText')" />
|
<VaDivider v-if="hasKey(data, 'extraText')" />
|
||||||
<p v-if="hasKey(data, 'extraText')">
|
<p v-if="hasKey(data, 'extraText')">
|
||||||
<span class="uppercase">{{
|
<span class="uppercase">{{
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ export default defineEventHandler(async (event) => {
|
|||||||
title_en: true,
|
title_en: true,
|
||||||
description_de: true,
|
description_de: true,
|
||||||
description_en: true,
|
description_en: true,
|
||||||
|
location: true,
|
||||||
|
locationLink: true,
|
||||||
isBingo: true,
|
isBingo: true,
|
||||||
picture: {
|
picture: {
|
||||||
select: {
|
select: {
|
||||||
|
|||||||
Reference in New Issue
Block a user