summaryrefslogtreecommitdiffstats
path: root/dashboard/src/workflow
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-02-22 12:38:04 -0500
committerParker Berberian <pberberian@iol.unh.edu>2019-02-22 12:41:32 -0500
commit879ebf85275e5f8942eb1a1e30d76cbee2a70715 (patch)
treec08ad45c8b51d699ab25ec3f58c44a8874c0c5bf /dashboard/src/workflow
parent16f1c65ac45a519a7ed710bca3068d6433fb2522 (diff)
Fixed Selection of single hosts in quick booking
Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/workflow')
-rw-r--r--dashboard/src/workflow/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/src/workflow/forms.py b/dashboard/src/workflow/forms.py
index 726e7dd..03940d8 100644
--- a/dashboard/src/workflow/forms.py
+++ b/dashboard/src/workflow/forms.py
@@ -348,6 +348,8 @@ class FormUtils:
slab['selected'] = 0
slab['selectable'] = 1
slab['follow'] = 1
+ if not multiple_selectable_hosts:
+ slab['follow'] = 0
slab['multiple'] = 0
items[slab['id']] = slab
mapping[slab['id']] = []