This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/controllers/post-enqueued.js.es6

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');
})
});