This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/select-kit/components/select-kit/errors-collection.js
Robin Ward 07813c4a91
Convert select-kit from es6 to js (#9246)
* Convert select-kit from es6 to js

* Hide more git blames
2020-03-20 12:40:32 -04:00

10 lines
319 B
JavaScript

import Component from "@ember/component";
import { notEmpty } from "@ember/object/computed";
export default Component.extend({
layoutName: "select-kit/templates/components/select-kit/errors-collection",
classNames: ["select-kit-errors-collection"],
tagName: "ul",
isVisible: notEmpty("collection.content")
});