[master | ADD]: Apply sandbox guard for beta environement.
This commit is contained in:
parent
83348a50fb
commit
9877c09f3c
|
@ -52,7 +52,7 @@ import {Identifier} from "./openaireLibrary/utils/string-utils.class";
|
|||
points="7 4 13 10 7 16"></polyline></svg>
|
||||
</span></a>
|
||||
</cookie-law>-->
|
||||
<footer class="uk-text-center uk-text-small">
|
||||
<footer class="uk-text-center uk-text-small uk-border-top">
|
||||
<div class="uk-tile-default">
|
||||
<div class="uk-section uk-container uk-container-small">
|
||||
<div class="uk-flex uk-flex-middle uk-flex-center uk-margin-medium-bottom">
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d61a70cc5ac4ea47c03f7d75cf7bfd751aa547d6
|
||||
Subproject commit 54a7ad165e35f971f497f410e839eea243e29211
|
|
@ -10,7 +10,6 @@ import {properties} from "../../environments/environment";
|
|||
export class SandboxGuard extends AdminDashboardGuard {
|
||||
|
||||
canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
|
||||
return true;
|
||||
//return properties.environment != 'beta' || super.canActivateChild(childRoute, state);
|
||||
return properties.environment != 'beta' || super.canActivateChild(childRoute, state);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue