Fix regex for office documents

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
Daniel Kesselberg 2020-02-29 23:13:52 +01:00 committed by npmbuildbot[bot]
parent fb9a6b8134
commit 864a9085b5
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'),