0
0
Fork 0

Add hints for rules (#29539)

This commit is contained in:
Eugen Rochko 2024-03-11 09:57:07 +01:00 committed by GitHub
parent 98ef38e34e
commit 5b3a8737d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 29 additions and 4 deletions

View file

@ -170,7 +170,8 @@ class About extends PureComponent {
<ol className='rules-list'>
{server.get('rules').map(rule => (
<li key={rule.get('id')}>
<span className='rules-list__text'>{rule.get('text')}</span>
<div className='rules-list__text'>{rule.get('text')}</div>
{rule.get('hint').length > 0 && (<div className='rules-list__hint'>{rule.get('hint')}</div>)}
</li>
))}
</ol>