mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 06:30:15 +08:00
11 lines
268 B
JavaScript
11 lines
268 B
JavaScript
import computed from 'ember-addons/ember-computed-decorators';
|
|
|
|
export default Ember.Component.extend({
|
|
classNames: ['flag-counts'],
|
|
|
|
@computed('details.flag_type_id')
|
|
title(id) {
|
|
return I18n.t(`admin.flags.summary.action_type_${id}`, { count: 1 });
|
|
}
|
|
});
|