From 6aaa355a4854e411b2d274c3d01c0ff86d9adeb1 Mon Sep 17 00:00:00 2001 From: Sercan Yemen <117369+srcn@users.noreply.github.com> Date: Thu, 12 May 2022 23:28:07 +0300 Subject: [PATCH] (ui/icons) Updated the route configuration --- src/app/modules/admin/ui/icons/icons.module.ts | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/app/modules/admin/ui/icons/icons.module.ts b/src/app/modules/admin/ui/icons/icons.module.ts index c9272d2c..c34a40f6 100644 --- a/src/app/modules/admin/ui/icons/icons.module.ts +++ b/src/app/modules/admin/ui/icons/icons.module.ts @@ -18,16 +18,11 @@ export const routes: Route[] = [ redirectTo: 'material-twotone' }, { - path : '', + path : '**', component: IconsComponent, - children : [ - { - path : '**', - resolve: { - icons: IconsResolver - } - } - ] + resolve : { + icons: IconsResolver + } } ];