Merge pull request #1964 from ryanpetrello/fix-token-scope

fix a few minor issues that have broken the User Token creation
This commit is contained in:
Ryan Petrello
2018-05-29 15:10:17 -04:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -42,11 +42,11 @@ function AddTokensController (
required: true,
_component: 'at-input-select',
_data: [
strings.get('add.SCOPE_PLACEHOLDER'),
strings.get('add.SCOPE_READ_LABEL'),
strings.get('add.SCOPE_WRITE_LABEL')
{ label: strings.get('add.SCOPE_PLACEHOLDER'), value: '' },
{ label: strings.get('add.SCOPE_READ_LABEL'), value: 'read' },
{ label: strings.get('add.SCOPE_WRITE_LABEL'), value: 'write' }
],
_exp: 'choice for (index, choice) in state._data',
_exp: 'choice.value as choice.label for (index, choice) in state._data',
_format: 'array'
};