config: updated feature toggle name

This commit is contained in:
Hugo Häggmark
2019-03-12 07:32:47 +01:00
committed by Leonard Gram
parent a6a3d698da
commit a90b3e331e
14 changed files with 18 additions and 19 deletions

View File

@@ -93,7 +93,7 @@ export class TeamMembers extends PureComponent<Props, State> {
</td>
<td>{member.login}</td>
<td>{member.email}</td>
<WithFeatureToggle featureToggle={config.editorsCanOwn}>
<WithFeatureToggle featureToggle={config.editorsCanAdmin}>
<td>
<div className="gf-form">
<Select
@@ -161,7 +161,7 @@ export class TeamMembers extends PureComponent<Props, State> {
<th />
<th>Name</th>
<th>Email</th>
<WithFeatureToggle featureToggle={config.editorsCanOwn}>
<WithFeatureToggle featureToggle={config.editorsCanAdmin}>
<th>Permission</th>
</WithFeatureToggle>
{syncEnabled && <th />}