FIX: changing tag group privacy setting was not consistent (#5818)
This commit is contained in:
parent
69693f89f5
commit
51ee31b3eb
|
@ -5,8 +5,12 @@ export default Ember.Component.extend({
|
|||
type : "radio",
|
||||
attributeBindings : ["name", "type", "value", "checked:checked", "disabled:disabled"],
|
||||
|
||||
click: function() {
|
||||
this.set("selection", this.$().val());
|
||||
click() {
|
||||
const value = this.$().val();
|
||||
if (this.get("selection") === value) {
|
||||
this.set("selection", undefined);
|
||||
}
|
||||
this.set("selection", value);
|
||||
},
|
||||
|
||||
@computed('value', 'selection')
|
||||
|
|
Loading…
Reference in New Issue