bug fix
This commit is contained in:
parent
01cd0cdb8f
commit
0b95f6f6e8
|
@ -42,7 +42,7 @@ export class BoardCustomerMockApi {
|
||||||
let customers: any[] | null = cloneDeep(this._customers);
|
let customers: any[] | null = cloneDeep(this._customers);
|
||||||
|
|
||||||
// Sort the customers
|
// Sort the customers
|
||||||
if (sort === 'sku' || sort === 'name' || sort === 'active') {
|
if (sort === 'signinId' || sort === 'nickname' || sort === 'level') {
|
||||||
customers.sort((a, b) => {
|
customers.sort((a, b) => {
|
||||||
const fieldA = a[sort].toString().toUpperCase();
|
const fieldA = a[sort].toString().toUpperCase();
|
||||||
const fieldB = b[sort].toString().toUpperCase();
|
const fieldB = b[sort].toString().toUpperCase();
|
||||||
|
|
|
@ -18,4 +18,72 @@ export const customers = [
|
||||||
answer: '미해결',
|
answer: '미해결',
|
||||||
state: '노출',
|
state: '노출',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3q',
|
||||||
|
signinId: 'aa100',
|
||||||
|
nickname: 'aa100',
|
||||||
|
idx: 73,
|
||||||
|
title: '입금계좌문의',
|
||||||
|
level: '4',
|
||||||
|
memo: '@',
|
||||||
|
finalOwnCharge: 10000000,
|
||||||
|
finalSigninDate: '2022-06-21T17:16',
|
||||||
|
highRank: '[매장]kgon5',
|
||||||
|
site: 'web5nova114.com',
|
||||||
|
views: 0,
|
||||||
|
writeDate: '2022-06-21T13:34',
|
||||||
|
answer: '미해결',
|
||||||
|
state: '노출',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3c',
|
||||||
|
signinId: 'aa100',
|
||||||
|
nickname: 'aa100',
|
||||||
|
idx: 73,
|
||||||
|
title: '입금계좌문의',
|
||||||
|
level: '4',
|
||||||
|
memo: '@',
|
||||||
|
finalOwnCharge: 10000000,
|
||||||
|
finalSigninDate: '2022-06-21T17:16',
|
||||||
|
highRank: '[매장]kgon5',
|
||||||
|
site: 'web5nova114.com',
|
||||||
|
views: 0,
|
||||||
|
writeDate: '2022-06-21T13:34',
|
||||||
|
answer: '미해결',
|
||||||
|
state: '노출',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3a',
|
||||||
|
signinId: 'aa100',
|
||||||
|
nickname: 'aa100',
|
||||||
|
idx: 73,
|
||||||
|
title: '입금계좌문의',
|
||||||
|
level: '4',
|
||||||
|
memo: '@',
|
||||||
|
finalOwnCharge: 10000000,
|
||||||
|
finalSigninDate: '2022-06-21T17:16',
|
||||||
|
highRank: '[매장]kgon5',
|
||||||
|
site: 'web5nova114.com',
|
||||||
|
views: 0,
|
||||||
|
writeDate: '2022-06-21T13:34',
|
||||||
|
answer: '미해결',
|
||||||
|
state: '노출',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: '7eb7c859-1347-4317-96b6-9476a7e2ba3z',
|
||||||
|
signinId: 'aa100',
|
||||||
|
nickname: 'aa100',
|
||||||
|
idx: 73,
|
||||||
|
title: '입금계좌문의',
|
||||||
|
level: '4',
|
||||||
|
memo: '@',
|
||||||
|
finalOwnCharge: 10000000,
|
||||||
|
finalSigninDate: '2022-06-21T17:16',
|
||||||
|
highRank: '[매장]kgon5',
|
||||||
|
site: 'web5nova114.com',
|
||||||
|
views: 0,
|
||||||
|
writeDate: '2022-06-21T13:34',
|
||||||
|
answer: '미해결',
|
||||||
|
state: '노출',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user