view data fixes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* LeagueCreationStatusDisplay
|
||||
*
|
||||
* Deterministic mapping of league creation status to display messages.
|
||||
*/
|
||||
|
||||
export class LeagueCreationStatusDisplay {
|
||||
/**
|
||||
* Maps league creation success status to display message.
|
||||
*/
|
||||
static statusMessage(success: boolean): string {
|
||||
return success ? 'League created successfully!' : 'Failed to create league.';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user