แก้ไขเก็บประวัติ

This commit is contained in:
kittapath 2024-09-04 21:20:50 +07:00
parent 88920d92e6
commit 4056a2aa7f
6 changed files with 19 additions and 58 deletions

View file

@ -94,7 +94,7 @@ export class ProfileAddressController extends Controller {
"currentDistrict",
"currentSubDistrict",
],
order: { createdAt: "ASC" },
order: { createdAt: "DESC" },
});
const _record = record.map((item) => ({
id: item.id,
@ -135,7 +135,7 @@ export class ProfileAddressController extends Controller {
"currentDistrict",
"currentSubDistrict",
],
order: { createdAt: "ASC" },
order: { createdAt: "DESC" },
});
const _record = record.map((item) => ({
id: item.id,