Update library
This commit is contained in:
parent
10932bb474
commit
7aef4d352c
|
@ -20,7 +20,6 @@ export class CacheIndicatorsComponent implements OnInit, OnChanges, OnDestroy {
|
|||
report: Report;
|
||||
subscriptions: Subscription[] = [];
|
||||
interval: number = 10000;
|
||||
// TODO check when change alias;
|
||||
readonly destroy$ = new Subject();
|
||||
@Input() alias: string;
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c1b1d2e4ecec7535a4b3e993159797504247e1e7
|
||||
Subproject commit 94957fff61526597e8bcdddaae03cd28e5c761e2
|
|
@ -27,7 +27,7 @@ export class AdminDashboardGuard implements CanActivate, CanActivateChild {
|
|||
check(path: string, alias: string): Observable<boolean> | boolean {
|
||||
let errorCode = LoginErrorCodes.NOT_LOGIN;
|
||||
return zip(
|
||||
this.userManagementService.getUserInfo() ,this.stakeholderService.getStakeholder(alias)
|
||||
this.userManagementService.getUserInfo(), this.stakeholderService.getStakeholder(alias)
|
||||
).pipe(take(1),map(res => {
|
||||
if(res[0]) {
|
||||
errorCode = LoginErrorCodes.NOT_ADMIN;
|
||||
|
|
|
@ -62,7 +62,6 @@ export let properties: EnvProperties = {
|
|||
cookieDomain: ".di.uoa.gr",
|
||||
feedbackmail: "openaire.test@gmail.com",
|
||||
cacheUrl: "http://scoobydoo.di.uoa.gr:3000/get?url=",
|
||||
// monitorServiceAPIURL: "https://services.openaire.eu/uoa-monitor-service",
|
||||
monitorServiceAPIURL: "http://duffy.di.uoa.gr:19380/uoa-monitor-service",
|
||||
adminToolsAPIURL: "http://duffy.di.uoa.gr:19380/uoa-monitor-service/",
|
||||
notificationsAPIURL: "http://duffy.di.uoa.gr:19380/uoa-monitor-service/notification/",
|
||||
|
|
Loading…
Reference in New Issue