2020-05-28 10:32:57 -05:00
|
|
|
import discourseComputed from "discourse-common/utils/decorators";
|
|
|
|
|
import { isEmpty } from "@ember/utils";
|
|
|
|
|
import Component from "@ember/component";
|
2019-11-14 09:47:15 +11:00
|
|
|
|
2020-05-28 10:32:57 -05:00
|
|
|
export default Component.extend({
|
2020-07-28 12:46:59 -05:00
|
|
|
classNames: ["product-list"],
|
2020-10-28 13:30:26 -05:00
|
|
|
|
2020-05-28 10:32:57 -05:00
|
|
|
@discourseComputed("products")
|
|
|
|
|
emptyProducts(products) {
|
|
|
|
|
return isEmpty(products);
|
|
|
|
|
},
|
2019-11-14 09:47:15 +11:00
|
|
|
});
|