hof 20.0.1 → 20.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -121,7 +121,8 @@ module.exports = SuperClass => class extends SuperClass {
|
|
121
121
|
}
|
122
122
|
|
123
123
|
getStepForField(key, steps) {
|
124
|
-
|
124
|
+
const keyName = Array.isArray(key) ? key[0] : key;
|
125
|
+
return Object.keys(steps).filter(step => steps[step].fields && steps[step].fields.indexOf(keyName) > -1)[0];
|
125
126
|
}
|
126
127
|
|
127
128
|
|