fix(SPG-1060): order queue by time
continuous-integration/drone/push Build is passing Details

pull/115/head
shancheas 2024-11-22 17:27:05 +07:00
parent b4bc31463e
commit 7305dfd068
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export class CustomerQueueListManager extends CustomerQueueManager {
return queue.flat();
});
return ticket.flat();
return ticket.flat().sort((a, b) => b.time - a.time);
}
get data() {