Fix smart annotation popover in tasks [SCI-8866][SCI-8867]

This commit is contained in:
sboursen-scinote 2023-07-18 14:55:19 +02:00
parent bab8e2c330
commit bb7eee9b64
2 changed files with 3 additions and 3 deletions

View file

@ -171,7 +171,7 @@ module ApplicationHelper
user_avatar_popover_absolute_url: user_avatar_absolute_url(
user,
:thumb,
base64_encoded_imgs
base64_encoded_imgs && user.avatar.attached?
)
},
formats: :html

View file

@ -21,7 +21,7 @@
data-full-name="<%= user.full_name %>"
data-email="<%= user.email %>"
data-popover-html="<%= popover_html %>"
data-user-avatar-popover-absolute-url="<%= user_avatar_absolute_url(user, :thumb, user.avatar.attached?) %>"
data-user-avatar-popover-absolute-url="<%= user_avatar_popover_absolute_url %>"
>
<%= user.full_name %>
</a>