Skip to content
Snippets Groups Projects
Commit 81add24f authored by Alice Poggioli's avatar Alice Poggioli
Browse files

If there is no image, no preview is displayed.

parent 9562e65b
No related branches found
No related tags found
1 merge request!175Bug/#172
Pipeline #6116 failed with stage
in 1 hour
...@@ -204,7 +204,7 @@ sib-widget(name='cs-profile-picture') ...@@ -204,7 +204,7 @@ sib-widget(name='cs-profile-picture')
sib-widget(name='cs-preview-picture') sib-widget(name='cs-preview-picture')
template template
img(src="\${await value || '/images/alien.jpg'}", alt="Preview of the resource") img(src="\${await value || ''}", alt="\${await value ? 'Preview of the resource' : ''}")
sib-widget(name="hidden-widget") sib-widget(name="hidden-widget")
template template
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment