We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b398b commit 2eb87e1Copy full SHA for 2eb87e1
zmscitizenview/src/components/Appointment/ServiceFinder.vue
@@ -68,7 +68,7 @@
68
:value="variant.variantId.toString()"
69
:label="t(`appointmentTypes.${variant.variantId}`)"
70
:hint="
71
- [1, 2, 3].includes(variant.variantId)
+ VARIANTS_WITH_LOCATION_HINTS.includes(variant.variantId)
72
? t(`locationVariantText.${variant.variantId}`)
73
: undefined
74
"
@@ -206,6 +206,8 @@ import {
206
207
const isCaptchaValid = ref<boolean>(false);
208
209
+const VARIANTS_WITH_LOCATION_HINTS = [1, 2, 3] as const;
210
+
211
const props = defineProps<{
212
globalState: GlobalState;
213
preselectedServiceId: string | undefined;
0 commit comments