From c1b28879f925470e5340d6827d2a3b81c7a7b3cb Mon Sep 17 00:00:00 2001 From: lain Date: Tue, 30 Jun 2020 14:06:23 +0200 Subject: [PATCH] Media Modal: Fix mimetype. --- src/components/media_modal/media_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/media_modal/media_modal.js b/src/components/media_modal/media_modal.js index 24764e80..3b72485c 100644 --- a/src/components/media_modal/media_modal.js +++ b/src/components/media_modal/media_modal.js @@ -27,7 +27,7 @@ const MediaModal = { return this.media.length > 1 }, type () { - return this.currentMedia ? fileTypeService.fileType(this.currentMedia.mimetype) : null + return this.currentMedia ? fileTypeService.fileType(this.currentMedia.pleroma.mime_type) : null } }, created () {