barsa-novin-ray-core 2.3.41 → 2.3.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5867,7 +5867,7 @@ class PortalService {
|
|
|
5867
5867
|
path: (cpage.IsDefaultRoute === 'True' && path === '') || (path !== '' && typeof path !== 'undefined')
|
|
5868
5868
|
? path
|
|
5869
5869
|
: cpage.Route.replace('/', ''),
|
|
5870
|
-
canActivate: cpage.HasAuthorize === 'True' ? [AuthGuard] : cpage.IsLoginRoute ? [RedirectHomeGuard] : [],
|
|
5870
|
+
canActivate: cpage.HasAuthorize === 'True' ? [AuthGuard] : cpage.IsLoginRoute === 'True' ? [RedirectHomeGuard] : [],
|
|
5871
5871
|
resolve: { pageData: PortalPageResolver },
|
|
5872
5872
|
component: pageComponent,
|
|
5873
5873
|
outlet: cpage.Outlet ? cpage.Outlet : undefined,
|