Fix user and poster not showing in vouchers

This commit is contained in:
2026-08-29 11:37:54 +00:00
parent 4f89cd1161
commit 5cfa02a6ef
18 changed files with 163 additions and 33 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ export interface IssueFormModel {
posted: boolean;
creationDate: string;
lastEditDate: string;
userName: string;
userName: User;
poster: string;
}
@@ -139,7 +139,7 @@ export class IssueComponent {
posted: voucher.posted,
creationDate: voucher.creationDate,
lastEditDate: voucher.lastEditDate,
userName: voucher.user?.name ?? '',
userName: voucher.user ?? new User(),
poster: voucher.poster ?? '',
};
},