|
|
@ -54,11 +54,11 @@ export class ConfigStateService { |
|
|
return this.store.dispatch(new GetAppConfiguration()); |
|
|
return this.store.dispatch(new GetAppConfiguration()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dispatchPatchRouteByName(name: string, newValue: Partial<ABP.Route>) { |
|
|
dispatchPatchRouteByName(...args: ConstructorParameters<typeof PatchRouteByName>) { |
|
|
return this.store.dispatch(new PatchRouteByName(name, newValue)); |
|
|
return this.store.dispatch(new PatchRouteByName(...args)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dispatchAddRoute(payload: Omit<ABP.Route, 'children'>) { |
|
|
dispatchAddRoute(...args: ConstructorParameters<typeof AddRoute>) { |
|
|
return this.store.dispatch(new AddRoute(payload)); |
|
|
return this.store.dispatch(new AddRoute(...args)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|