fix: addSteps was still using bugged concat

This commit is contained in:
cha0s 2019-04-19 14:01:25 -05:00
parent 9dc58f78f1
commit 7c253fa13f

View File

@ -97,7 +97,9 @@ export class Informed extends decorate(Trait) {
const fullAddSteps = addSteps.map((addStep) => {
return addStep.set('path', add.get('path') + addStep.get('path'));
});
steps.concat(fullAddSteps);
for (let i = 0; i < fullAddSteps.size; ++i) {
steps.push(fullAddSteps.get(i));
}
// Add overrides.
const overrides = this.entityOverrides(
add.get('path'),