mirror of
https://github.com/discourse/discourse.git
synced 2025-02-04 13:25:15 +08:00
7 lines
264 B
JavaScript
7 lines
264 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');
|
|
})
|
|
});
|