Hide roles section from settings if there's only one available.
This commit is contained in:
parent
4fe77f345c
commit
7a3875d6da
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
</form>
|
||||
|
||||
{% if not is_restricted %}
|
||||
{% if not is_restricted and settings_roles|length > 1 %}
|
||||
<div class="container settings__container">
|
||||
{{ container_title('<i class="fas fa-user-check fa-fw"></i> Roles') }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue