mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:43:24 +08:00
9 lines
276 B
JavaScript
9 lines
276 B
JavaScript
export default Ember.Controller.extend({
|
|
description: Ember.computed("model.reason", function() {
|
|
const reason = this.get("model.reason");
|
|
return reason
|
|
? I18n.t("queue_reason." + reason + ".description")
|
|
: I18n.t("queue.approval.description");
|
|
})
|
|
});
|