discourse/app/assets/javascripts/select-kit/addon/components/period-chooser/period-chooser-row.js
David Taylor 48193767bf DEV: Sort imports
Automatically generated by `eslint --fix` to satisfy the updated configuration
2023-10-10 21:46:54 +01:00

13 lines
423 B
JavaScript

import discourseComputed from "discourse-common/utils/decorators";
import I18n from "I18n";
import DropdownSelectBoxRowComponent from "select-kit/components/dropdown-select-box/dropdown-select-box-row";
export default DropdownSelectBoxRowComponent.extend({
classNames: ["period-chooser-row"],
@discourseComputed("rowName")
title(rowName) {
return I18n.t(`filters.top.${rowName || "this_week"}`).title;
},
});