mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 01:32:23 +08:00
21 lines
507 B
JavaScript
21 lines
507 B
JavaScript
import computed from "ember-addons/ember-computed-decorators";
|
|
import PeriodComputationMixin from "admin/mixins/period-computation";
|
|
|
|
export default Ember.Controller.extend(PeriodComputationMixin, {
|
|
exceptionController: Ember.inject.controller("exception"),
|
|
|
|
@computed
|
|
flagsStatusOptions() {
|
|
return {
|
|
table: {
|
|
total: false,
|
|
perPage: 10
|
|
}
|
|
};
|
|
},
|
|
|
|
_reportsForPeriodURL(period) {
|
|
return Discourse.getURL(`/admin/dashboard/moderation?period=${period}`);
|
|
}
|
|
});
|