mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 20:43:50 +08:00
32665cf9dd
Enables our new eslint rules which enforce consistent i18n imports. For more info, see 0d58b40cd7
21 lines
562 B
JavaScript
21 lines
562 B
JavaScript
import Controller from "@ember/controller";
|
|
import { i18n } from "discourse-i18n";
|
|
export const DEFAULT_PERIOD = "yearly";
|
|
|
|
export default class AdminSearchLogsIndexController extends Controller {
|
|
loading = false;
|
|
period = DEFAULT_PERIOD;
|
|
searchType = "all";
|
|
searchTypeOptions = [
|
|
{
|
|
id: "all",
|
|
name: i18n("admin.logs.search_logs.types.all_search_types"),
|
|
},
|
|
{ id: "header", name: i18n("admin.logs.search_logs.types.header") },
|
|
{
|
|
id: "full_page",
|
|
name: i18n("admin.logs.search_logs.types.full_page"),
|
|
},
|
|
];
|
|
}
|