mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 02:23:42 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
12 lines
427 B
JavaScript
12 lines
427 B
JavaScript
import discourseComputed from "discourse-common/utils/decorators";
|
|
import DropdownSelectBoxHeaderComponent from "select-kit/components/dropdown-select-box/dropdown-select-box-header";
|
|
|
|
export default DropdownSelectBoxHeaderComponent.extend({
|
|
classNames: ["period-chooser-header", "btn-flat"],
|
|
|
|
@discourseComputed("selectKit.isExpanded")
|
|
caretIcon(isExpanded) {
|
|
return isExpanded ? "caret-up" : "caret-down";
|
|
},
|
|
});
|