Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-03-27 20:35:34 +0300
committerGitHub <noreply@github.com>2021-03-27 20:35:34 +0300
commit8e7822b31a4bc9d05b11cb3a5d2b7a2d53adc069 (patch)
tree33c666ab4f2cc9788e762c62dee9a6761d8ce670 /ui
parent00e92fe18f5b9f6cfaa3c5a0f7c7b977d8209a63 (diff)
parente1cc6a3579dada1c12399b747deee588a03d85d1 (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-xui/ControlPanel.go2
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)
}
}