From 93e734b221fd24fc0b75793811ca69d71c5ddebf Mon Sep 17 00:00:00 2001 From: Gerhard Steenkamp Date: Thu, 11 Apr 2024 17:57:27 +0200 Subject: [PATCH] comment --- src/plugins/oSnap/components/Input/MethodParameter.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/oSnap/components/Input/MethodParameter.vue b/src/plugins/oSnap/components/Input/MethodParameter.vue index 1b987edb..8856e6dd 100644 --- a/src/plugins/oSnap/components/Input/MethodParameter.vue +++ b/src/plugins/oSnap/components/Input/MethodParameter.vue @@ -91,6 +91,7 @@ const paramType = computed(() => { if (inputType.value.input === 'array') { return `(${inputType.value.type}[])`; } + // tuple type labels can be too long and take up too much space, limit to 2 return inputType.value.type.length > 2 ? `( ${inputType.value.type.slice(0, 2)}...[ ] )` : inputType.value.type;