fix(core): add undefined control to AddRoute action listener

resolves #2738
pull/2761/head
mehmet-erim 5 years ago
parent 6f29a642d8
commit 0d850612bd

@ -249,7 +249,7 @@ export class ConfigState {
if (index < 0) return;
const parent = flattedRoutes[index];
if (parent.url.replace('/', '')) {
if ((parent.url || '').replace('/', '')) {
route.url = `${parent.url}/${route.path}`;
} else {
route.url = `/${route.path}`;

Loading…
Cancel
Save