mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 12:23:46 +08:00
13 lines
473 B
Plaintext
13 lines
473 B
Plaintext
|
import DropdownSelectBoxHeaderomponent from "select-kit/components/dropdown-select-box/dropdown-select-box-header";
|
||
|
import computed from 'ember-addons/ember-computed-decorators';
|
||
|
|
||
|
export default DropdownSelectBoxHeaderomponent.extend({
|
||
|
layoutName: "select-kit/templates/components/period-chooser/period-chooser-header",
|
||
|
classNames: "period-chooser-header",
|
||
|
|
||
|
@computed("isExpanded")
|
||
|
caretIcon(isExpanded) {
|
||
|
return isExpanded ? "caret-up" : "caret-down";
|
||
|
}
|
||
|
});
|