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