From c59c58624b2d67cf85cd7a252ae589c41baf0362 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 20 Jan 2025 14:46:43 +0200 Subject: [PATCH] convert icon to png --- app/javascript/submission_form/dropzone.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/submission_form/dropzone.vue b/app/javascript/submission_form/dropzone.vue index 19285c4e..fafcd4ed 100644 --- a/app/javascript/submission_form/dropzone.vue +++ b/app/javascript/submission_form/dropzone.vue @@ -128,7 +128,7 @@ export default { } }) } else { - if (file.type === 'image/bmp') { + if (file.type === 'image/bmp' || file.type === 'image/vnd.microsoft.icon') { file = await this.convertBmpToPng(file) }