fix: staff edit error and column order on appointment page
This commit is contained in:
@@ -19,7 +19,7 @@ export const staffStorage: IStorage = {
|
||||
},
|
||||
|
||||
async getAllStaff(): Promise<Staff[]> {
|
||||
const staff = await db.staff.findMany();
|
||||
const staff = await db.staff.findMany({ orderBy: { id: "asc" } });
|
||||
return staff;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user