We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cb4f0c commit a754b04Copy full SHA for a754b04
src/attachment.ts
@@ -40,7 +40,7 @@ export default class Attachment {
40
}
41
42
isImage(): boolean {
43
- return ['image/gif', 'image/png', 'image/jpg', 'image/jpeg'].indexOf(this.file.type) > -1
+ return ['image/gif', 'image/png', 'image/jpg', 'image/jpeg', 'image/svg+xml'].indexOf(this.file.type) > -1
44
45
46
isVideo(): boolean {
0 commit comments