feat: display scope description as markdown, fixes #466

This commit is contained in:
Roman Hotsiy 2018-05-14 11:48:11 +03:00
parent 2cf4c3cd7b
commit 0d6deff8c8
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -60,7 +60,7 @@ export class OAuthFlow extends React.PureComponent<OAuthFlowProps> {
<ul> <ul>
{Object.keys(flow!.scopes).map(scope => ( {Object.keys(flow!.scopes).map(scope => (
<li key={scope}> <li key={scope}>
<code>{scope}</code> - {flow!.scopes[scope]} <code>{scope}</code> - <Markdown inline={true} source={flow!.scopes[scope] || ''} />
</li> </li>
))} ))}
</ul> </ul>