fix(receive): diaplay rank

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-12 17:45:54 +07:00
parent 95f37cf68d
commit 5ead16e528

View file

@ -89,7 +89,9 @@ const columns2 = ref<QTableProps["columns"]>([
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
format(val, row) {
return `${row.prefix ?? ""}${row.firstName ?? ""} ${row.lastName ?? ""}`;
return `${row.rank ? row.rank : row.prefix ?? ""}${row.firstName ?? ""} ${
row.lastName ?? ""
}`;
},
},
{