Browse Source
Merge pull request #55294 from nextcloud/feat/54462-Add-MIME-types-Automated-Tagging-dropdown
Feat/54462 add mime types automated tagging dropdown
dependabot/npm_and_yarn/wait-on-9.0.1
Arthur Schiwon
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
13 additions and
3 deletions
-
apps/workflowengine/src/components/Checks/FileMimeType.vue
-
dist/workflowengine-workflowengine.js
-
dist/workflowengine-workflowengine.js.map
|
|
@ -60,6 +60,11 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
predefinedTypes: [ |
|
|
|
{ |
|
|
|
iconUrl: imagePath('core', 'filetypes/audio'), |
|
|
|
label: t('workflowengine', 'Audio'), |
|
|
|
id: '/audio\\/.*/', |
|
|
|
}, |
|
|
|
{ |
|
|
|
icon: 'icon-folder', |
|
|
|
label: t('workflowengine', 'Folder'), |
|
|
@ -80,6 +85,11 @@ export default { |
|
|
|
label: t('workflowengine', 'PDF documents'), |
|
|
|
id: 'application/pdf', |
|
|
|
}, |
|
|
|
{ |
|
|
|
iconUrl: imagePath('core', 'filetypes/video'), |
|
|
|
label: t('workflowengine', 'Video'), |
|
|
|
id: '/video\\/.*/', |
|
|
|
}, |
|
|
|
], |
|
|
|
newValue: '', |
|
|
|
} |
|
|
|