Skip to content
This repository was archived by the owner on Dec 15, 2020. It is now read-only.

Commit 993085d

Browse files
committed
Bump up ddap-common-lib
1 parent 5a023a4 commit 993085d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

angular/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"bingmaps": "^2.0.3",
4141
"brace": "^0.11.1",
4242
"dayjs": "^1.8.16",
43-
"ddap-common-lib": "0.0.19-93-g124b6e2",
43+
"ddap-common-lib": "0.0.19-95-gf611a67",
4444
"hammerjs": "^2.0.8",
4545
"highlight.js": "^9.15.10",
4646
"jsoneditor": "^7.5.0",

angular/src/app/shared/layout/layout.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ddaplib-main-header [siteName]="appConfig.ui.title"
1111
[logoUrl]="appConfig.ui.logoUrl"
1212
[isSandbox]="appConfig.enabledFeatures.includes(FrontendFeature.realmInput)"
13-
[realmActions]="['edit']"
13+
[realmActions]="[RealmActionType.edit]"
1414
(realmChangeAcknowledge)="onAcknowledge($event)">
1515
<ddaplib-menu-apps [accessibleApps]="viewController.getAccessibleApps()"
1616
[realmId]="viewController.getRealmId()"

angular/src/app/shared/layout/layout.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
import { Title } from '@angular/platform-browser';
44
import { ActivatedRoute, Router } from '@angular/router';
55
import { LoadingBarService } from '@ngx-loading-bar/core';
6-
import { ViewControllerService } from 'ddap-common-lib';
6+
import { RealmActionType, ViewControllerService } from 'ddap-common-lib';
77
import { Observable } from 'rxjs';
88

99
import { IdentityService } from '../../identity/identity.service';
@@ -24,12 +24,12 @@ export class LayoutComponent implements OnInit {
2424
realm: string;
2525
appConfig: AppConfigModel = null;
2626
FrontendFeature = FrontendFeature;
27-
2827
userIsAuthorized: boolean = null; // "null" means undecided or on-demand.
29-
3028
dataAccessManagersInfo$: Observable<DamsInfo>;
3129
identityConcentratorInfo$: Observable<any>;
3230

31+
readonly RealmActionType = RealmActionType;
32+
3333
constructor(public loader: LoadingBarService,
3434
public router: Router,
3535
private layoutViewControllerService: LayoutViewControllerService,

0 commit comments

Comments
 (0)