fix(core): condition bug

resolves #3886
pull/3896/head
mehmet-erim 5 years ago
parent 81595ee5b3
commit dafe19fa1e

@ -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