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

Fix regex for office documents
This commit is contained in:
Roeland Jago Douma 2020-03-05 20:12:20 +01:00 committed by GitHub
commit 124b1fdffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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