fix mobile image handling
This commit is contained in:
parent
034fd7b4ba
commit
5f508f548e
@ -32,7 +32,7 @@ const AppointmentLinkify = {
|
||||
var AppointmentImage = {
|
||||
view: function(vnode) {
|
||||
const {item, settings} = vnode.attrs;
|
||||
const image_url = item.base.image?.fileUrl ?? (is_mobile ? default_image_mobile : null) ?? settings.default_image;
|
||||
const image_url = item.base.image?.fileUrl ?? (is_mobile ? settings.default_image_mobile : null) ?? settings.default_image;
|
||||
|
||||
let img = image_url ? m(
|
||||
"img",
|
||||
|
Loading…
x
Reference in New Issue
Block a user