mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:30:57 +08:00
19 lines
445 B
Plaintext
19 lines
445 B
Plaintext
|
import computed from "ember-addons/ember-computed-decorators";
|
||
|
import PeriodComputationMixin from "admin/mixins/period-computation";
|
||
|
|
||
|
export default Ember.Controller.extend(PeriodComputationMixin, {
|
||
|
@computed
|
||
|
flagsStatusOptions() {
|
||
|
return {
|
||
|
table: {
|
||
|
total: false,
|
||
|
perPage: 10
|
||
|
}
|
||
|
};
|
||
|
},
|
||
|
|
||
|
_reportsForPeriodURL(period) {
|
||
|
return Discourse.getURL(`/admin/dashboard/moderation?period=${period}`);
|
||
|
}
|
||
|
});
|