discourse/app/assets/javascripts/wizard/components/staff-count.js

8 lines
234 B
JavaScript

import Component from "@ember/component";
import discourseComputed from "discourse-common/utils/decorators";
export default Component.extend({
@discourseComputed("field.value")
showStaffCount: (staffCount) => staffCount > 1,
});