wip fix order

This commit is contained in:
Rizky 2024-03-11 19:05:22 +07:00
parent 66e57cd3dd
commit f65c7bfff7
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ export const EdSidePropInstance: FC<{ meta: IMeta }> = ({ meta }) => {
});
filtered = filtered.sort((a, b) => {
const aidx = a.mprop.get("idx") || 0;
const bidx = b.mprop.get("idx") || 0;
const aidx = a.cprop.idx || 0;
const bidx = b.cprop.idx || 0;
return aidx - bidx;
});
}