diff --git a/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue b/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue index 95621fa3c..2677f5b2d 100644 --- a/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue +++ b/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue @@ -56,7 +56,7 @@ along with this program. If not, see . :attachment="attachment" :can-access="attachment.acl && attachment.acl.canAccess" :allow-to-detach="false" - :open-in-editor="!isMobileDevice" + :open-in-editor="true" :is-file-editable="isFileEditable(attachment)" allow-to-preview small-attachment-icon /> @@ -130,9 +130,6 @@ export default { }, attachmentsLength() { return this.attachments && this.attachments.length > 0 ? `(${this.attachments.length})` : ''; - }, - isMobileDevice() { - return (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)); } }, created() {