Fixes to player hover branch. Club page was not returning data to it
This commit is contained in:
@@ -58,9 +58,7 @@ const fetchClubsData = async (req, res, next) => {
|
||||
name: player.name,
|
||||
position: player.position,
|
||||
dateOfBirth: player.dateOfBirth,
|
||||
nationality: player.nationality,
|
||||
contractStart: player.contract.start,
|
||||
contractEnd: player.contract.until
|
||||
nationality: player.nationality
|
||||
})),
|
||||
staff: clubData.staff,
|
||||
lastUpdated: clubData.lastUpdated
|
||||
|
||||
@@ -104,13 +104,8 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each club.squad}}
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Contract Start: {{contractStart}}, Contract End: {{contractEnd}}">
|
||||
{{name}}
|
||||
</button>
|
||||
</td>
|
||||
<td>{{name}}</td>
|
||||
<td>{{position}}</td>
|
||||
<td>{{dateOfBirth}}</td>
|
||||
<td>{{nationality}}</td>
|
||||
|
||||
Reference in New Issue
Block a user