diff --git a/packages/editor-ui/src/components/ParameterInputList.vue b/packages/editor-ui/src/components/ParameterInputList.vue index 37424d6a4c8d8..3af7536ef2be7 100644 --- a/packages/editor-ui/src/components/ParameterInputList.vue +++ b/packages/editor-ui/src/components/ParameterInputList.vue @@ -87,13 +87,13 @@ /> - + {{ $locale.baseText('parameterInputList.loadingError') }} @@ -242,7 +242,11 @@ export default defineComponent({ // This will catch errors in async components onErrorCaptured((e, component) => { - if (!component._.type.name in ['FixedCollectionParameter', 'CollectionParameter']) { + if ( + !['FixedCollectionParameter', 'CollectionParameter'].includes( + component._.type.name as string, + ) + ) { return; } asyncLoadingError.value = true; @@ -602,5 +606,10 @@ export default defineComponent({ font-weight: var(--font-weight-bold); } } + + .async-notice { + display: block; + padding: var(--spacing-3xs) 0; + } }