mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00

`app/` means we want to merge it into our application there. `addon` means give it its own module namespace, which is what we wanted.
11 lines
312 B
JavaScript
11 lines
312 B
JavaScript
import Component from "@ember/component";
|
|
import { notEmpty } from "@ember/object/computed";
|
|
|
|
export default Component.extend({
|
|
layoutName:
|
|
"select-kit/templates/components/select-kit/select-kit-collection",
|
|
classNames: ["select-kit-collection"],
|
|
tagName: "ul",
|
|
isVisible: notEmpty("collection")
|
|
});
|