From 7e9f6efc792e0cbef90a4ef42a96c99e52b42191 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Sun, 4 Aug 2019 19:36:21 -0700 Subject: [PATCH] Update step-notifier.groovy --- official/step-notifier.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/step-notifier.groovy b/official/step-notifier.groovy index 8a91b9f..3224186 100755 --- a/official/step-notifier.groovy +++ b/official/step-notifier.groovy @@ -42,7 +42,7 @@ def setupNotifications() { } section("Notify Me When"){ - input "thresholdType", "enum", title: "Select When to Notify", required: false, defaultValue: "Goal Reached", options: [["Goal":"Goal Reached"],["Threshold":"Specific Number of Steps"]], submitOnChange:true + input "thresholdType", "enum", title: "Select When to Notify", required: false, defaultValue: "Goal Reached", options: ["Goal","Threshold"], submitOnChange:true if (settings.thresholdType) { if (settings.thresholdType == "Threshold") { input "threshold", "number", title: "Enter Step Threshold", description: "Number", required: true -- 2.34.1