We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
route url is set to '/' when patching route without providing path
url
path
this.store.dispatch(new PatchRouteByName( '::Menu:Documents', { //path: 'documents/list', <- without this route url will be set to '/' children: menu } ));
I think the problem is at config.state.ts
config.state.ts
function patchRouteDeep( routes: ABP.FullRoute[], name: string, newValue: Partial<ABP.FullRoute>, parentUrl: string = '', ): ABP.FullRoute[] { routes = routes.map(route => { if (route.name === name) { newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === '' // Should be || instead of && ? route.path : newValue.path) || ''}`;
The text was updated successfully, but these errors were encountered:
dafe19f
Thanks for reporting @mgochmuradov
Sorry, something went wrong.
fix(core): condition bug
8a235cb
resolves #3886
mehmet-erim
No branches or pull requests
route
url
is set to '/' when patching route without providingpath
I think the problem is at
config.state.ts
The text was updated successfully, but these errors were encountered: