fix get multiple settings only

This commit is contained in:
BlasenhauerJ 2022-12-05 16:40:23 +01:00
parent 3f6432f4b7
commit 37380b977e
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ class Multiple {
filterMultiple(settings) {
const multiple = {};
for (const [key, data] of Object.entries(settings)) {
if (!isNaN(key[key.length - 1]) && key[key.length - 2] === "_") {
if (!isNaN(key.substring(key.lastIndexOf("_") + 1))) {
multiple[key] = {
value: data["value"],
method: data["method"],