From 879ebf85275e5f8942eb1a1e30d76cbee2a70715 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Fri, 22 Feb 2019 12:38:04 -0500 Subject: Fixed Selection of single hosts in quick booking Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455 Signed-off-by: Parker Berberian --- dashboard/src/workflow/forms.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dashboard/src/workflow') 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']] = [] -- cgit 1.2.3-korg