Browse Source

refactor(identity): change sort order icon key inputs

pull/2477/head
TheDiaval 7 years ago
parent
commit
d2f54ef185
  1. 2
      npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.html
  2. 6
      npm/ng-packs/packages/identity/src/lib/components/users/users.component.html

2
npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.html

@ -54,7 +54,7 @@
{{ 'AbpIdentity::RoleName' | abpLocalization }} {{ 'AbpIdentity::RoleName' | abpLocalization }}
<abp-sort-order-icon <abp-sort-order-icon
#sortOrderIcon #sortOrderIcon
key="name" sortKey="name"
[(selectedSortKey)]="sortKey" [(selectedSortKey)]="sortKey"
[(order)]="sortOrder" [(order)]="sortOrder"
></abp-sort-order-icon> ></abp-sort-order-icon>

6
npm/ng-packs/packages/identity/src/lib/components/users/users.component.html

@ -62,7 +62,7 @@
{{ 'AbpIdentity::UserName' | abpLocalization }} {{ 'AbpIdentity::UserName' | abpLocalization }}
<abp-sort-order-icon <abp-sort-order-icon
#sortOrderIcon #sortOrderIcon
key="userName" sortKey="userName"
[(selectedSortKey)]="sortKey" [(selectedSortKey)]="sortKey"
[(order)]="sortOrder" [(order)]="sortOrder"
> >
@ -71,14 +71,14 @@
<th pResizableColumn (click)="sortOrderIcon.sort('email')"> <th pResizableColumn (click)="sortOrderIcon.sort('email')">
{{ 'AbpIdentity::EmailAddress' | abpLocalization }} {{ 'AbpIdentity::EmailAddress' | abpLocalization }}
<abp-sort-order-icon <abp-sort-order-icon
key="email" sortKey="email"
[(selectedSortKey)]="sortKey" [(selectedSortKey)]="sortKey"
[(order)]="sortOrder" [(order)]="sortOrder"
></abp-sort-order-icon> ></abp-sort-order-icon>
</th> </th>
<th pResizableColumn (click)="sortOrderIcon.sort('phoneNumber')"> <th pResizableColumn (click)="sortOrderIcon.sort('phoneNumber')">
{{ 'AbpIdentity::PhoneNumber' | abpLocalization }} {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}
<abp-sort-order-icon key="phoneNumber" [(selectedSortKey)]="sortKey" [(order)]="sortOrder"> <abp-sort-order-icon sortKey="phoneNumber" [(selectedSortKey)]="sortKey" [(order)]="sortOrder">
</abp-sort-order-icon> </abp-sort-order-icon>
</th> </th>
</tr> </tr>

Loading…
Cancel
Save