mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Fix smart annotation popover in tasks [SCI-8866][SCI-8867]
This commit is contained in:
parent
bab8e2c330
commit
bb7eee9b64
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue