mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Use attachment preview urls
This changes the preview urls to use the concrete attachment ids. This way browsers have it easier to switch the preview image when the attachment position is changed.
This commit is contained in:
@ -238,7 +238,7 @@ viewItem cfg settings item =
|
||||
div [ class "image" ]
|
||||
[ img
|
||||
[ class "preview-image"
|
||||
, src (Api.itemPreviewURL item.id)
|
||||
, src (Api.itemPreviewURL item)
|
||||
, Data.UiSettings.cardPreviewSize settings
|
||||
]
|
||||
[]
|
||||
|
Reference in New Issue
Block a user