mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 20:13:43 +08:00
be354e7950
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
26 lines
720 B
JavaScript
26 lines
720 B
JavaScript
import Controller from "@ember/controller";
|
|
import { DEFAULT_PERIOD } from "admin/controllers/admin-search-logs-index";
|
|
import I18n from "I18n";
|
|
|
|
export default class AdminSearchLogsTermController extends Controller {
|
|
loading = false;
|
|
term = null;
|
|
period = DEFAULT_PERIOD;
|
|
searchType = "all";
|
|
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"),
|
|
},
|
|
{
|
|
id: "click_through_only",
|
|
name: I18n.t("admin.logs.search_logs.types.click_through_only"),
|
|
},
|
|
];
|
|
}
|