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

[personal-cabinet/provider-admins]Show button for deputy/admin creation correctly #1355 #1356

Merged
merged 19 commits into from
Jun 22, 2022

Conversation

Olya-web7
Copy link
Contributor

No description provided.

@Olya-web7 Olya-web7 requested review from litvinets and dmitryy90 June 21, 2022 14:22
Comment on lines -24 to +27
<ng-template [ngIf]="btnView == providerAdminRoleUkr.admin && subrole !== Role.ProviderAdmin ">
<ng-template [ngIf]="btnView == providerAdminRoleUkr.deputy && subrole !== Role.ProviderAdmin">
<a [routerLink]="['/create-provider-admin', providerAdminRole.deputy]"><button class="btn" mat-raised-button>Додати</button></a>
</ng-template>
<ng-template [ngIf]="btnView == providerAdminRoleUkr.admin && subrole !== Role.ProviderAdmin ">
<ng-template [ngIf]="btnView == providerAdminRoleUkr.admin && subrole !== Role.ProviderAdmin">
Copy link
Contributor

Choose a reason for hiding this comment

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

add button on init of this component
image

@Olya-web7 Olya-web7 requested a review from litvinets June 21, 2022 18:30
this.route.queryParams
.pipe(takeUntil(this.destroy$))
Copy link
Contributor

Choose a reason for hiding this comment

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

why did you remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

returned it back)

@Olya-web7 Olya-web7 requested a review from litvinets June 22, 2022 08:47
@litvinets litvinets merged commit eae5b12 into develop Jun 22, 2022
@DmyMi DmyMi deleted the bnt-to-add-admin/deputy branch June 26, 2024 11:21
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