Hide roles section from settings if there's only one available.
This commit is contained in:
parent
d2f0eebfb2
commit
8c52fc81e2
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…
Reference in a new issue