discourse-subscriptions/assets/javascripts/discourse/components/product-list.js

13 lines
317 B
JavaScript

import discourseComputed from "discourse-common/utils/decorators";
import { isEmpty } from "@ember/utils";
import Component from "@ember/component";
export default Component.extend({
classNames: ["product-list"],
@discourseComputed("products")
emptyProducts(products) {
return isEmpty(products);
},
});