ngx-sp-auth 4.2.5 → 4.3.0
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.
package/fesm2022/ngx-sp-auth.mjs
CHANGED
|
@@ -3597,9 +3597,6 @@ class IsMenuAllowedlGuard {
|
|
|
3597
3597
|
}
|
|
3598
3598
|
canActivate(_route, _state) {
|
|
3599
3599
|
let route = _route.routeConfig?.path === undefined ? "" : _route.routeConfig?.path;
|
|
3600
|
-
if (route == '') {
|
|
3601
|
-
route = _state.url.substring(1);
|
|
3602
|
-
}
|
|
3603
3600
|
return this.isMenuAllowedGuard(route);
|
|
3604
3601
|
}
|
|
3605
3602
|
navigateToError() {
|