Commit 036728aa authored by nanahira's avatar nanahira

fix

parent 8cfbf78b
...@@ -179,9 +179,8 @@ export class RegistrarAspect<Ctx extends Context, T = any> { ...@@ -179,9 +179,8 @@ export class RegistrarAspect<Ctx extends Context, T = any> {
const actions = _.uniq( const actions = _.uniq(
this.registrar.reflector.getArray('CordisTopLevelAction', this.obj), this.registrar.reflector.getArray('CordisTopLevelAction', this.obj),
); );
const renderer = generateRenderer({ ...this.view, ...extraView });
actions.forEach((action) => actions.forEach((action) =>
action.run({ ...this.view, ...extraView }, ctx, this.obj, renderer), action.run({ ...this.view, ...extraView }, ctx, this.obj),
); );
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment