discourse/app/assets/javascripts/admin/controllers/admin-search-logs-index.js

Failed to ignore revisions in .git-blame-ignore-revs.

26 lines
587 B
JavaScript
Raw Normal View History

import I18n from "I18n";
import Controller from "@ember/controller";
export const DEFAULT_PERIOD = "yearly";
export default Controller.extend({
2017-11-15 08:13:50 +08:00
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")
}
];
}
2017-11-15 08:13:50 +08:00
});