From fce33f39d3a5459ac98662c799ad4eee41fa98bf Mon Sep 17 00:00:00 2001
From: Julius Härtl <jus@bitgrid.net>
Date: Fri, 11 Oct 2019 15:05:58 +0200
Subject: Fix operation list when scope is limited
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Julius Härtl <jus@bitgrid.net>
---
 apps/workflowengine/src/components/Checks/RequestTime.vue | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'apps/workflowengine/src/components/Checks/RequestTime.vue')

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
-- 
cgit v1.2.3

