Merge pull request #3027 from coreos-inc/joseph.schorr/QUAY-871/oauth-scopes

Fix OAuth scopes display
This commit is contained in:
josephschorr 2018-03-16 14:28:40 -04:00 committed by GitHub
commit ca0772e1b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -112,9 +112,9 @@
<tr ng-repeat="(scopeName, scopeInfo) in OAuthService.SCOPES">
<td>
<label onclick="event.stopPropagation()">
<input type="checkbox" value="scopeInfo[0]" ng-model="genScopes[scopeName]">{{ scopeInfo[3] }}
<input type="checkbox" value="scopeInfo.scope" ng-model="genScopes[scopeName]">{{ scopeInfo.title }}
</label>
<div class="scope-description">{{ scopeInfo[4] }}</div>
<div class="scope-description">{{ scopeInfo.description }}</div>
</td>
</tr>
</table>