fix issues
This commit is contained in:
@@ -32,7 +32,7 @@ export class RaceDetailViewModel {
|
||||
|
||||
/** UI-specific: Whether user is registered */
|
||||
get isRegistered(): boolean {
|
||||
return this.registration.isUserRegistered;
|
||||
return (this.registration as any).isUserRegistered ?? (this.registration as any).isRegistered ?? false;
|
||||
}
|
||||
|
||||
/** UI-specific: Whether user can register */
|
||||
|
||||
Reference in New Issue
Block a user