Fix audio attachments do not get played via expose in mail's attachment list

This commit is contained in:
Hadi Nategh 2022-10-13 12:44:02 +02:00
parent 4ae6f15e37
commit 1d8f6c7546
2 changed files with 2 additions and 2 deletions

View File

@ -454,7 +454,7 @@ function expose(Base) {
position: "right bottom,right-50 bottom-10",
value: {
content: {
src: mediaContent.download_href
src: mediaContent.download_href || mediaContent.href
}
},
resizable: false,

View File

@ -476,7 +476,7 @@ function expose<TBase extends Constructor>(Base: TBase) {
position:"right bottom,right-50 bottom-10",
value: {
content: {
src:mediaContent.download_href
src:mediaContent.download_href || mediaContent.href
}
},
resizable: false,