From 931b73e1bd038a5782886e8a066d550dc75ff344 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 6 Apr 2020 10:15:46 +0200 Subject: [PATCH] :zap: Display "options" parameter as "string" if options could not be loaded --- packages/editor-ui/src/components/ParameterInput.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index 9f65d462e4..893c61aa33 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -2,7 +2,7 @@
-
+
@@ -259,9 +259,7 @@ export default mixins( return title; }, displayValue (): string | number | boolean | null { - if (this.remoteParameterOptionsLoadingIssues !== null) { - return 'Error loading...'; - } else if (this.remoteParameterOptionsLoading === true) { + if (this.remoteParameterOptionsLoading === true) { // If it is loading options from server display // to user that the data is loading. If not it would // display the user the key instead of the value it