From 9a9bfab9a1b1be88f9a417696e1ceb15bdec5217 Mon Sep 17 00:00:00 2001 From: hujambo-dunia Date: Tue, 14 Nov 2023 09:51:54 -0500 Subject: [PATCH] Prettier --- client/src/components/Form/FormRepeat.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/client/src/components/Form/FormRepeat.vue b/client/src/components/Form/FormRepeat.vue index 19a636ad2e83..8f4bb29fa87e 100644 --- a/client/src/components/Form/FormRepeat.vue +++ b/client/src/components/Form/FormRepeat.vue @@ -16,13 +16,13 @@ interface Input { title: string; min: number; default: number; - max: number|string; + max: number | string; help?: string; cache: Array>; } const maxRepeats = computed(() => { - return (typeof props.input.max === "number") ? props.input.cache?.length >= props.input.max : false; + return typeof props.input.max === "number" ? props.input.cache?.length >= props.input.max : false; }); const props = defineProps({ @@ -159,8 +159,6 @@ const { keyObject } = useKeyedObjects(); Insert {{ props.input.title || "Repeat" }} -
- Maximum number of {{ props.input.title || "Repeat" }} fields reached -
+
Maximum number of {{ props.input.title || "Repeat" }} fields reached