Delete VM template default version (e2e_fe)

  • Related issues: #2376 [BUG] Cannot delete Template
  • Related issues: #2379 [backport v1.0.3] Cannot delete Template

Category:

  • VM Template

Verification Steps

  1. Go to Advanced -> Templates
  2. Create a new template
  3. Modify the template to create a new version
  4. Click the config button of the default version template
  5. Click the config button of the non default version template

Expected Results

  • If the template is the default version, it will not display the delete button image

  • If the template is not the default version, it will display the delete button image

  • We can also delete the entire template from the config button image