(teamName: string)
| 29 | * Called by TeamCreateTool when a team is created. |
| 30 | */ |
| 31 | export function setLeaderTeamName(teamName: string): void { |
| 32 | if (leaderTeamName === teamName) return |
| 33 | leaderTeamName = teamName |
| 34 | // Changing the task list ID is a "tasks updated" event for subscribers — |
| 35 | // they're now looking at a different directory. |
| 36 | notifyTasksUpdated() |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Clears the leader's team name. |
no test coverage detected