Skip to content

Commit

Permalink
TASK-70317: can't edit oform file when creating a request (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrout committed Mar 26, 2024
1 parent e093269 commit d0a13bf
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
: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 />
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit d0a13bf

Please sign in to comment.