Skip to content

Commit

Permalink
Fix error on new magazines for admins (#1248)
Browse files Browse the repository at this point in the history
Co-authored-by: Melroy van den Berg <[email protected]>
  • Loading branch information
BentiGorlich and melroy89 authored Nov 26, 2024
1 parent 60ce242 commit a0a413a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/magazine_box.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<li>{{ 'created_at'|trans }}:
{{ component('date', {date: computed.magazine.createdAt}) }}
</li>
{% if app.user is defined and app.user is not null and app.user.admin() and computed.magazine.apId is not null %}
{% if app.user is defined and app.user is not null and app.user.admin() and computed.magazine.apId is not null and computed.magazine.apFetchedAt is not same as null %}
<li>
{{ 'last_updated'|trans }}: {{ component('date', {date: computed.magazine.apFetchedAt}) }}
</li>
Expand Down

0 comments on commit a0a413a

Please sign in to comment.