diff --git a/apps/workflowengine/js/workflowengine.js b/apps/workflowengine/js/workflowengine.js index cb55019f1dc94e6b2b6305dcfbcbd6d1321d65d7..ecce91b30ed5b40dad3a75fa6239e512afc1d35f 100644 Binary files a/apps/workflowengine/js/workflowengine.js and b/apps/workflowengine/js/workflowengine.js differ diff --git a/apps/workflowengine/js/workflowengine.js.map b/apps/workflowengine/js/workflowengine.js.map index 2e8462f2e10d3aa89e1ca185e6a7e9353e0fe652..29341656c9c8a7b76e696e9d9b5b1bd8054b2989 100644 Binary files a/apps/workflowengine/js/workflowengine.js.map and b/apps/workflowengine/js/workflowengine.js.map differ diff --git a/apps/workflowengine/src/components/Checks/file.js b/apps/workflowengine/src/components/Checks/file.js index ee6a476a3a1d278ec1d7c92d7dcd08af41eee63a..26c246be591b2b8c4056f002bcdc4aa1c8d6dc1f 100644 --- a/apps/workflowengine/src/components/Checks/file.js +++ b/apps/workflowengine/src/components/Checks/file.js @@ -20,18 +20,14 @@ * */ -import { stringValidator, validateIPv4, validateIPv6 } from './../../helpers/validators' +import { stringValidator, validateIPv4, validateIPv6 } from '../../helpers/validators' import FileMimeType from './FileMimeType' import FileSystemTag from './FileSystemTag' -const stringOrRegexOperators = (check) => { - if (check.value.startsWith('/')) { - return [ - { operator: 'matches', name: t('workflowengine', 'matches') }, - { operator: '!matches', name: t('workflowengine', 'does not match') }, - ] - } +const stringOrRegexOperators = () => { return [ + { operator: 'matches', name: t('workflowengine', 'matches') }, + { operator: '!matches', name: t('workflowengine', 'does not match') }, { operator: 'is', name: t('workflowengine', 'is') }, { operator: '!is', name: t('workflowengine', 'is not') }, ]