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

8 lines
218 B
Plaintext
Raw Normal View History

import Component from "@ember/component";
2018-06-15 23:03:24 +08:00
import computed from "ember-addons/ember-computed-decorators";
export default Component.extend({
2018-07-30 23:56:48 +08:00
@computed("field.value")
showStaffCount: staffCount => staffCount > 1
});