mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:58:34 +08:00
24 lines
524 B
JavaScript
24 lines
524 B
JavaScript
export const DEFAULT_PERIOD = "yearly";
|
|
|
|
export default Ember.Controller.extend({
|
|
loading: false,
|
|
period: DEFAULT_PERIOD,
|
|
searchType: "all",
|
|
|
|
init() {
|
|
this._super(...arguments);
|
|
|
|
this.searchTypeOptions = [
|
|
{
|
|
id: "all",
|
|
name: I18n.t("admin.logs.search_logs.types.all_search_types")
|
|
},
|
|
{ id: "header", name: I18n.t("admin.logs.search_logs.types.header") },
|
|
{
|
|
id: "full_page",
|
|
name: I18n.t("admin.logs.search_logs.types.full_page")
|
|
}
|
|
];
|
|
}
|
|
});
|