diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-03-27 20:35:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-27 20:35:34 +0300 |
commit | 8e7822b31a4bc9d05b11cb3a5d2b7a2d53adc069 (patch) | |
tree | 33c666ab4f2cc9788e762c62dee9a6761d8ce670 /ui | |
parent | 00e92fe18f5b9f6cfaa3c5a0f7c7b977d8209a63 (diff) | |
parent | e1cc6a3579dada1c12399b747deee588a03d85d1 (diff) |
Merge pull request #263 from thebeline/BF/Commands
Bug Fix: CustomControls with multiple command lines and Control/Command Confirm handling.
Diffstat (limited to 'ui')
-rwxr-xr-x | ui/ControlPanel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ControlPanel.go b/ui/ControlPanel.go index b4279d9..71fc839 100755 --- a/ui/ControlPanel.go +++ b/ui/ControlPanel.go @@ -83,7 +83,7 @@ func (this *controlPanel) getCustomControls() []*dataModels.ControlDefinition { for _, control := range response.Controls { for _, childControl := range control.Children { - if childControl.Command != "" || childControl.Script != "" { + if childControl.Command != "" || childControl.Script != "" || childControl.Commands != nil { controlDefinitions = append(controlDefinitions, childControl) } } |