Files
discourse/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-collection.js
Robin Ward 09ca75d17e FIX: select-kit was in the wrong place
`app/` means we want to merge it into our application there. `addon`
means give it its own module namespace, which is what we wanted.
2020-05-20 11:51:49 -04:00

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")
});