fix(core): condition bug

resolves #3886
pull/3901/head
mehmet-erim 5 years ago
parent ffcc1978d8
commit 8a235cb25c

@ -324,7 +324,7 @@ function patchRouteDeep(
): ABP.FullRoute[] {
routes = routes.map(route => {
if (route.name === name) {
newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === ''
newValue.url = `${parentUrl}/${(!newValue.path || newValue.path === ''
? route.path
: newValue.path) || ''}`;

Loading…
Cancel
Save