summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-06-08 14:57:13 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-06-08 23:56:28 +0200
commit948769cf7aaf960f045098132b77263dbad3e809 (patch)
tree2140d1381dd75e6635fc2a5282e5134e7e4d2828 /apps/workflowengine/src/components
parentd67f627ebac82bcf7d9f51d46407ecc5184c0405 (diff)
downloadnextcloud-server-948769cf7aaf960f045098132b77263dbad3e809.tar.gz
nextcloud-server-948769cf7aaf960f045098132b77263dbad3e809.zip
Extends office documents pattern to match open documents.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/workflowengine/src/components')
-rw-r--r--apps/workflowengine/src/components/Checks/FileMimeType.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue
index e27481ec4d0..501b7a598a0 100644
--- a/apps/workflowengine/src/components/Checks/FileMimeType.vue
+++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue
@@ -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'),