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