hotfix stats

This commit is contained in:
SvyatoslavArtymovych 2023-06-20 16:07:38 +03:00
parent 1443b26312
commit 2ec34c03f9
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
class="flex flex-col md:flex-row text-gray-500 dark:text-gray-400" class="flex flex-col md:flex-row text-gray-500 dark:text-gray-400"
> >
{% if type(book) == m.BookVersion %} {% if type(book) == m.BookVersion %}
{% set updated_by = book.updated_by_user if book.updated_by else book.owner %} {% set updated_by = book.updated_by_user if book.updated_by else book.book.owner %}
{% set updated_at = book.updated_at %} {% set updated_at = book.updated_at %}
{% else %} {% else %}
{% set updated_by = book.active_version.updated_by_user if book.updated_by else book.owner %} {% set updated_by = book.active_version.updated_by_user if book.updated_by else book.owner %}