website refactor

This commit is contained in:
2026-01-16 01:00:03 +01:00
parent ce7be39155
commit a98e3e3166
286 changed files with 5522 additions and 5261 deletions

View File

@@ -78,6 +78,13 @@ export class ProtestViewModel {
} else {
this.incident = null;
}
if ('proofVideoUrl' in dto) {
this.proofVideoUrl = (dto as { proofVideoUrl?: string }).proofVideoUrl || null;
}
if ('comment' in dto) {
this.comment = (dto as { comment?: string }).comment || null;
}
// Status and decision metadata are not part of the protest DTO in this build; they default to a pending, unreviewed protest
if (!('status' in dto)) {
@@ -96,4 +103,4 @@ export class ProtestViewModel {
get statusDisplay(): string {
return 'Pending';
}
}
}