diff --git a/core/misc/states.js b/core/misc/states.js index f7d3b338a1..401ab04346 100644 --- a/core/misc/states.js +++ b/core/misc/states.js @@ -170,7 +170,9 @@ value = value.map(String); // We iterate through each value provided in the reference. If all of them // exist in value array, we return true. Otherwise return false. - return Object.values(reference).every(([key, referenceValue]) => value.includes(referenceValue),); + return Object.values(reference).every(([key, referenceValue]) => + value.includes(referenceValue), + ); }, Number(reference, value) { // If "reference" is a number and "value" is a string, then cast