🐛 Fix bug that array elements larger than 10 could not be removed

This commit is contained in:
Jan Oberhauser 2019-09-19 23:19:34 +02:00
parent 3580ea0e2e
commit 419af0a5fd

View file

@ -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) {