centreon / centreon-open-tickets

Module dedicated to open case on various Ticket systems from Centreon UI
Apache License 2.0
10 stars 25 forks source link

enh(provider): preselect if only 1 choice in list selection #209

Closed garnier-quentin closed 2 years ago

garnier-quentin commented 2 years ago

Description

If you have only 1 choice in list selection (popup before opening a ticket), the only choice is selected by default. Example: image

Type of change

Target serie

How this pull request can be tested ?

You can create a mail provider with a custom list with only one entry: image

Checklist

sonarqube-decoration[bot] commented 2 years ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information