|
@@ -359,6 +359,8 @@ class Main extends React.Component {
|
|
|
}
|
|
|
|
|
|
render () {
|
|
|
+ const Pli = PlayerList.components.PlayerList
|
|
|
+ const Mli = MatchList.components.MatchList
|
|
|
const places = this.props.matchList.places || []
|
|
|
const dates = this.props.matchList.dates || {}
|
|
|
const matchCategories = this.props.matchList.categories || []
|
|
@@ -407,10 +409,10 @@ class Main extends React.Component {
|
|
|
<button onClick={this.generatePayTable} disabled={(!this.props.matchList.filteredMatches.length | !this.props.playerList.filteredPlayers.length)}>Zahlliste generieren</button>
|
|
|
<button onClick={this.generatePhoneList} disabled={!this.props.playerList.allPlayers.length}>Telefonliste generieren</button>
|
|
|
</form>
|
|
|
- <MatchList match={this.props.matchList} />
|
|
|
+ <Mli match={this.props.matchList} />
|
|
|
<PhoneList filtered={this.props.matchList.filteredMatches} players={this.props.playerList.allPlayers} />
|
|
|
<EmailList filtered={this.props.matchList.filteredMatches} players={this.props.playerList.allPlayers} />
|
|
|
- <PlayerList player={this.props.playerList} />
|
|
|
+ <Pli player={this.props.playerList} />
|
|
|
</div>
|
|
|
)
|
|
|
}
|