Commit 9af5e9a4 by Marcus Efraimsson Committed by GitHub

Merge pull request #14127 from grafana/team_members_fix

Remove react warning in team members page
parents 8a2de587 0aca6f58
...@@ -74,7 +74,7 @@ export class TeamMembers extends PureComponent<Props, State> { ...@@ -74,7 +74,7 @@ export class TeamMembers extends PureComponent<Props, State> {
</td> </td>
<td>{member.login}</td> <td>{member.login}</td>
<td>{member.email}</td> <td>{member.email}</td>
{syncEnabled ? this.renderLabels(member.labels) : null} {syncEnabled && this.renderLabels(member.labels)}
<td className="text-right"> <td className="text-right">
<DeleteButton onConfirmDelete={() => this.onRemoveMember(member)} /> <DeleteButton onConfirmDelete={() => this.onRemoveMember(member)} />
</td> </td>
...@@ -132,7 +132,7 @@ export class TeamMembers extends PureComponent<Props, State> { ...@@ -132,7 +132,7 @@ export class TeamMembers extends PureComponent<Props, State> {
<th /> <th />
<th>Name</th> <th>Name</th>
<th>Email</th> <th>Email</th>
{syncEnabled ? <th /> : ''} {syncEnabled && <th />}
<th style={{ width: '1%' }} /> <th style={{ width: '1%' }} />
</tr> </tr>
</thead> </thead>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment