chuni: fix frontend if no chunithm profiles are loaded

This commit is contained in:
Hay1tsme 2024-06-08 19:10:24 -04:00
parent f94d22ab0d
commit 8e6e5ea903

View File

@ -5,7 +5,7 @@
</style> </style>
<div class="container"> <div class="container">
{% include 'titles/chuni/templates/chuni_header.jinja' %} {% include 'titles/chuni/templates/chuni_header.jinja' %}
{% if profile is defined and profile is not none and profile.id > 0 %} {% if profile is defined and profile is not none and profile|length > 0 %}
<div class="row"> <div class="row">
<div class="col-lg-8 m-auto mt-3"> <div class="col-lg-8 m-auto mt-3">
<div class="card bg-card rounded"> <div class="card bg-card rounded">