We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7fceaa commit 9911e6dCopy full SHA for 9911e6d
packages/node_modules/overmind/src/index.ts
@@ -789,7 +789,10 @@ export class Overmind<ThisConfig extends IConfiguration>
789
private getActions(actions: any = {}, path: string[] = []) {
790
return Object.keys(actions).reduce((aggr, name) => {
791
if (typeof actions[name] === 'function') {
792
- const action = this.createAction(name, actions[name]) as any
+ const action = this.createAction(
793
+ path.concat(name).join('.'),
794
+ actions[name]
795
+ ) as any
796
797
action.displayName = path.concat(name).join('.')
798
0 commit comments