feat(identity): add an ngIf that checks isStatic for delete button in roles.component

#2763
pull/2769/head
mehmet-erim 5 years ago
parent 37055944fe
commit 7e97483d28

@ -81,7 +81,8 @@
{{ 'AbpIdentity::Permissions' | abpLocalization }}
</button>
<button
*abpPermission="'AbpIdentity.Roles.Delete'"
*ngIf="!data.isStatic"
[abpPermission]="'AbpIdentity.Roles.Delete'"
ngbDropdownItem
(click)="delete(data.id, data.name)"
>
@ -172,22 +173,3 @@
(abpInit)="init(abpPermissionManagement)"
>
</abp-permission-management>
<!-- <abp-permission-management
#abpPermissionManagement="abpPermissionManagement"
*abpReplaceableTemplate="{
inputs: {
providerName: { value: 'R' },
providerKey: { value: providerKey },
visible: { value: visiblePermissions, twoWay: true },
hideBadges: { value: true }
},
outputs: { visibleChange: onVisiblePermissionChange },
componentKey: 'PermissionManagement.PermissionManagementComponent'
}"
[(visible)]="visiblePermissions"
[providerKey]="providerKey"
[hideBadges]="true"
providerName="R"
>
</abp-permission-management> -->

Loading…
Cancel
Save