Skip to content

Commit

Permalink
portal page text change, breadcrumbs account linking and confirmation…
Browse files Browse the repository at this point in the history
… page (#580)
  • Loading branch information
AdityaMantripragada authored Aug 2, 2024
1 parent 48ee50c commit 63ad8d6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { IdentityProvider } from '../../enums/identity-provider.enum';
import { BcProviderUser } from '../../models/bc-provider-user.model';
import { AuthorizedUserService } from '../../services/authorized-user.service';
import { LinkAccountConfirmResource } from './link-account-confirm-resource.service';
import { AccessRoutes } from '@app/features/access/access.routes';

@Component({
selector: 'app-link-account-confirm',
Expand All @@ -46,6 +47,10 @@ export class LinkAccountConfirmPage implements OnInit {
public user$: Observable<User>;
public breadcrumbsData: Array<{ title: string; path: string }> = [
{title: 'Home', path: ''},
{
title: 'Access',
path: AccessRoutes.routePath(AccessRoutes.ACCESS_REQUESTS),
},
{title: 'Link Account', path: ''},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h5>Welcome to the OneHealthID Service</h5>
priority />
<div class="card-content">
<p class="card-header">
Grant Access
Give Access
<ng-container *ngIf="alerts$ | async as alerts"
><fa-icon
*ngIf="alerts.includes(AlertCode.PENDING_ENDORSEMENT_REQUEST)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import { AccountLinkingResource } from './account-linking-resource.service';
import { linkedAccountCardText } from './account-linking.constants';
import { Credential } from './account-linking.model';
import { BreadcrumbComponent } from '@app/shared/components/breadcrumb/breadcrumb.component';
import { AccessRoutes } from '@app/features/access/access.routes';

@Component({
selector: 'app-account-linking',
Expand Down Expand Up @@ -111,6 +112,10 @@ export class AccountLinkingPage implements OnInit, OnDestroy {
}
public breadcrumbsData: Array<{ title: string; path: string }> = [
{title: 'Home', path: ''},
{
title: 'Access',
path: AccessRoutes.routePath(AccessRoutes.ACCESS_REQUESTS),
},
{title: 'Account Linking', path: ''},
];

Expand Down

0 comments on commit 63ad8d6

Please sign in to comment.