FIX: toggle topic status was inverted
This commit is contained in:
parent
424a3b042a
commit
4787e73954
|
@ -145,7 +145,7 @@ const Topic = Discourse.Model.extend({
|
|||
|
||||
toggleStatus(property) {
|
||||
this.toggleProperty(property);
|
||||
this.saveStatus(property, !this.get(property));
|
||||
this.saveStatus(property, !!this.get(property));
|
||||
},
|
||||
|
||||
saveStatus(property, value) {
|
||||
|
|
Loading…
Reference in New Issue