diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-11 15:05:58 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-10-29 18:03:55 +0100 |
commit | fce33f39d3a5459ac98662c799ad4eee41fa98bf (patch) | |
tree | ee6807f13400e103eba5403ce5bb8450d45d7c2d /apps/workflowengine/src/components/Checks/RequestTime.vue | |
parent | 0fccda86c2dd4abff2e24f1f397ed900b090af1b (diff) | |
download | nextcloud-server-fce33f39d3a5459ac98662c799ad4eee41fa98bf.tar.gz nextcloud-server-fce33f39d3a5459ac98662c799ad4eee41fa98bf.zip |
Fix operation list when scope is limited
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src/components/Checks/RequestTime.vue')
-rw-r--r-- | apps/workflowengine/src/components/Checks/RequestTime.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/workflowengine/src/components/Checks/RequestTime.vue b/apps/workflowengine/src/components/Checks/RequestTime.vue index cd702ecae82..196f3e2afa4 100644 --- a/apps/workflowengine/src/components/Checks/RequestTime.vue +++ b/apps/workflowengine/src/components/Checks/RequestTime.vue @@ -10,7 +10,9 @@ type="text" placeholder="e.g. 18:00" @input="update"> - <p v-if="!valid" class="invalid-hint">{{ t('workflowengine', 'Please enter a valid time span')}}</p> + <p v-if="!valid" class="invalid-hint"> + {{ t('workflowengine', 'Please enter a valid time span') }} + </p> </div> </template> @@ -56,7 +58,9 @@ export default { timezone: data[0].split(' ', 2)[1] } } - } catch (e) {} + } catch (e) { + // ignore invalid values + } }, validate() { return this.newValue.startTime && this.newValue.startTime.match(/^(0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9]$/i) !== null |