This commit is contained in:
@@ -22,6 +22,7 @@ const mimeTypes = {
|
||||
"image/gif": icons.image,
|
||||
"image/jpeg": icons.image,
|
||||
"image/png": icons.image,
|
||||
"image/webp": icons.image,
|
||||
|
||||
"application/pdf": icons.pdf,
|
||||
|
||||
@@ -73,6 +74,7 @@ const extensions = {
|
||||
jpeg: icons.image,
|
||||
jpg: icons.image,
|
||||
png: icons.image,
|
||||
webp: icons.image,
|
||||
|
||||
pdf: icons.pdf,
|
||||
|
||||
|
||||
@@ -771,6 +771,12 @@ export default {
|
||||
|
||||
let url = null;
|
||||
if (ex == 1) {
|
||||
if (
|
||||
!this.selectedImageAttachment ||
|
||||
!this.selectedImageAttachment.url
|
||||
) {
|
||||
return;
|
||||
}
|
||||
//it's an attachment
|
||||
url = this.selectedImageAttachment.url;
|
||||
if (!this.imageText) {
|
||||
|
||||
Reference in New Issue
Block a user