refactor(ui): apply +543 year formatting to columns
This commit is contained in:
parent
30b63f1b52
commit
5830d24118
8 changed files with 8 additions and 8 deletions
|
|
@ -112,7 +112,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
format(val, row) {
|
||||
return `${row.year + 543}`;
|
||||
return `${row.year ? row.year + 543 : "-"}`;
|
||||
},
|
||||
sort: (a: number, b: number) => b - a,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue