Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parent application #216

Closed
wants to merge 9 commits into from
Closed

Parent application #216

wants to merge 9 commits into from

Conversation

LenkVskv
Copy link
Contributor

@LenkVskv LenkVskv commented Jun 2, 2021

No description provided.

</mat-tab>
</mat-tab-group>
<div *ngIf="role==='parent' then isParent; else isProvider"></div>
<ng-template #isParent>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentations


@Select(RegistrationState.user)
user$: Observable<User>;
role; ;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type?

@@ -35,6 +43,9 @@ export class ApplicationsComponent implements OnInit {
this.applications = applications
);

this.user$.subscribe(user => this.role = user.role);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use selectSnapshot to avoid additional subscription

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LenkVskv see examples in these components
image

@litvinets litvinets closed this Jun 15, 2021
@sivxkxn sivxkxn mentioned this pull request Aug 16, 2021
sivxkxn added a commit that referenced this pull request Aug 19, 2021
sivxkxn added a commit that referenced this pull request Aug 19, 2021
* categories

* top directions

* some changes
@litvinets litvinets deleted the parent-application branch June 9, 2022 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants