diff --git a/src/app/mock-api/apps/member/unconnected/api.ts b/src/app/mock-api/apps/member/unconnected/api.ts index 75af921..eeb4118 100644 --- a/src/app/mock-api/apps/member/unconnected/api.ts +++ b/src/app/mock-api/apps/member/unconnected/api.ts @@ -42,7 +42,12 @@ export class MemberUnconnectedMockApi { let unconnecteds: any[] | null = cloneDeep(this._unconnecteds); // Sort the unconnecteds - if (sort === 'sku' || sort === 'name' || sort === 'active') { + if ( + sort === 'id' || + sort === 'signinId' || + sort === 'nickname' || + sort === 'state' + ) { unconnecteds.sort((a, b) => { const fieldA = a[sort].toString().toUpperCase(); const fieldB = b[sort].toString().toUpperCase(); diff --git a/src/app/mock-api/apps/member/unconnected/data.ts b/src/app/mock-api/apps/member/unconnected/data.ts index 520e6cf..2c3f77d 100644 --- a/src/app/mock-api/apps/member/unconnected/data.ts +++ b/src/app/mock-api/apps/member/unconnected/data.ts @@ -2,7 +2,7 @@ export const unconnecteds = [ { - id: 'on04', + id: '8fcce528-d878-4cc8-99f7-bd3451ed5402', category: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de', name: 'Benton Mens Automatic Watch 44mm 5 ATM', description: diff --git a/src/app/modules/admin/member/unconnected/components/list.component.html b/src/app/modules/admin/member/unconnected/components/list.component.html index fe2c51d..50fccae 100644 --- a/src/app/modules/admin/member/unconnected/components/list.component.html +++ b/src/app/modules/admin/member/unconnected/components/list.component.html @@ -40,20 +40,12 @@ matSortDisableClear >
-