Merge pull request #19721 from nextcloud/bug/19695/workflow-regex-office

Fix regex for office documents
pull/19807/head
Roeland Jago Douma 6 years ago committed by GitHub
commit 124b1fdffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      apps/workflowengine/js/workflowengine.js
  2. 2
      apps/workflowengine/js/workflowengine.js.map
  3. 2
      apps/workflowengine/src/components/Checks/FileMimeType.vue

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -78,7 +78,7 @@ export default {
{
iconUrl: OC.imagePath('core', 'filetypes/x-office-document'),
label: t('workflowengine', 'Office documents'),
pattern: '/(vnd\\.(ms-|openxmlformats-).*))$/',
pattern: '/(vnd\\.(ms-|openxmlformats-).*)$/',
},
{
iconUrl: OC.imagePath('core', 'filetypes/application-pdf'),

Loading…
Cancel
Save