mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
feat: added visibility to parameters
This commit is contained in:
@@ -26,6 +26,9 @@ func apiWorkflowTemplate(wft *v1.WorkflowTemplate) *api.WorkflowTemplate {
|
||||
if p.Value != nil {
|
||||
ap.Value = *p.Value
|
||||
}
|
||||
if p.Visibility != nil {
|
||||
ap.Visibility = *p.Visibility
|
||||
}
|
||||
|
||||
aParams = append(aParams, &ap)
|
||||
}
|
||||
|
Reference in New Issue
Block a user