discourse-subscriptions/assets/javascripts/discourse/controllers/admin-plugins-discourse-pat...

18 lines
316 B
Plaintext
Raw Normal View History

2019-09-23 01:01:03 -04:00
export default Ember.Controller.extend({
queryParams: ["order", "descending"],
order: null,
descending: true,
actions: {
loadMore() {},
orderPayments(order) {
if (order === this.get("order")) {
this.toggleProperty("descending");
}
this.set("order", order);
}
}
});