From 419af0a5fd10af17fc0e065500adc926193cfe10 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Thu, 19 Sep 2019 23:19:34 +0200 Subject: [PATCH] :bug: Fix bug that array elements larger than 10 could not be removed --- packages/editor-ui/src/components/NodeSettings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/NodeSettings.vue b/packages/editor-ui/src/components/NodeSettings.vue index 8a6f49af35..5a4d9c0c99 100644 --- a/packages/editor-ui/src/components/NodeSettings.vue +++ b/packages/editor-ui/src/components/NodeSettings.vue @@ -355,7 +355,7 @@ export default mixins( // Check if the path is supposed to change an array and if so get // the needed data like path and index - const parameterPathArray = parameterPath.match(/(.*)\[(\d)\]$/); + const parameterPathArray = parameterPath.match(/(.*)\[(\d+)\]$/); // Apply the new value if (parameterData.value === undefined && parameterPathArray !== null) {