mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
Templating: Clicking Selected should deselect all if 1 or more are already selected (#19104)
This commit is contained in:
parent
3827913105
commit
ecb97488d8
@ -79,7 +79,7 @@ export class ValueSelectDropdownCtrl {
|
||||
clearSelections() {
|
||||
this.selectedValues = _.filter(this.options, { selected: true });
|
||||
|
||||
if (this.selectedValues.length > 1) {
|
||||
if (this.selectedValues.length) {
|
||||
_.each(this.options, option => {
|
||||
option.selected = false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user