Compare commits
2 commits
6c964c46ba
...
325bd2754b
| Author | SHA1 | Date | |
|---|---|---|---|
| 325bd2754b | |||
| f0334c69fc |
1 changed files with 1 additions and 1 deletions
|
|
@ -6174,7 +6174,7 @@ export class OrganizationDotnetController extends Controller {
|
|||
// group by ancestorDNA แล้วเลือก create_at ล่าสุด
|
||||
const grouped = new Map<string, PosMasterHistory>();
|
||||
for (const item of profile) {
|
||||
const key = `${item.profileId}`;
|
||||
const key = `${item.ancestorDNA}`;
|
||||
if (!grouped.has(key)) {
|
||||
grouped.set(key, item);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue