fix: ensure we check that steps have actions before iterating through 'em; fixes
@@ -207,6 +207,7 @@ export class StepStore {
getSteps(extensions: Extensions = []) {
const allSteps = [];
for ( const extension of extensions ) {
+ if (extension.actions) {
for ( const action of extension.actions) {
if (action.actionType == 'step') {
let properties;
@@ -229,6 +230,7 @@ export class StepStore {
}
}
}
+ }
return this.steps.concat(allSteps).sort((a, b) => a.name.localeCompare(b.name));
}
