Merge pull request #21326 from nextcloud/enh/noid/office-pattern-opendocument

Extends office documents pattern to match open documents.
This commit is contained in:
Roeland Jago Douma 2020-06-09 09:50:27 +02:00 committed by GitHub
commit 57ed519839
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

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