diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2025-03-31 20:56:05 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2025-04-03 12:40:48 +0200 |
commit | 7afdce6e9d3e40b91a919a5b52420fdb4658dd98 (patch) | |
tree | 6fbf4c44ebb530aad661c7902a6025892000eb23 /apps/workflowengine/src | |
parent | 04e78dbc777b5e11e91156120e963a044f42b3b2 (diff) | |
download | nextcloud-server-7afdce6e9d3e40b91a919a5b52420fdb4658dd98.tar.gz nextcloud-server-7afdce6e9d3e40b91a919a5b52420fdb4658dd98.zip |
fix: properly set value in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine/src')
-rw-r--r-- | apps/workflowengine/src/components/Checks/FileMimeType.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue index 6a7e6f21f23..bd0d80f697c 100644 --- a/apps/workflowengine/src/components/Checks/FileMimeType.vue +++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue @@ -5,7 +5,7 @@ <template> <div> <NcSelect - :model-value="newValue" + :model-value="currentValue" :placeholder="t('workflowengine', 'Select a file type')" label="label" :options="options" @@ -31,7 +31,7 @@ </template> </NcSelect> <input v-if="!isPredefined" - :model-value="newValue" + :value="currentValue.id" type="text" :placeholder="t('workflowengine', 'e.g. httpd/unix-directory')" @input="updateCustom"> @@ -76,7 +76,7 @@ export default { id: 'application/pdf', }, ], - newValue: [], + newValue: '', } }, props: { |