Skip to content

Fix `selectedTemplate is undefined` when selecting jsonnet template

Ezekiel Kigbo requested to merge fix-add-missing-project-template into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Adds the missing Jsonnet for Dynamic Child Pipelines template to the custom templates object, this fixes a minor selectedTemplate is undefined console error in the new project form.

Screenshots or screen recordings

Before After
Screen_Shot_2022-05-20_at_1.51.58_pm Screen_Shot_2022-05-20_at_1.51.30_pm

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to the new project form
  2. Select Create from template
  3. Select the Jsonnet for Dynamic Child Pipelines template
  4. Check the browser console, with this fix there will be no error displayed

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ezekiel Kigbo

Merge request reports