Hide roles section from settings if there's only one available.

This commit is contained in:
flash 2023-07-28 20:33:44 +00:00
parent d2f0eebfb2
commit 8c52fc81e2

View file

@ -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') }}