Update routes.handler.ts

pull/4445/head
Mehmet Erim 5 years ago committed by GitHub
parent 8b1e7e4de2
commit 44189ca51a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,7 @@ export class RoutesHandler {
}
addRoutes() {
this.router?.config.forEach(({ path = '', data }) => {
this.router?.config?.forEach(({ path = '', data }) => {
if (!data?.routes) return;
if (Array.isArray(data.routes)) {

Loading…
Cancel
Save