mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: prettier 1.14.0
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
export default Ember.Component.extend({
|
||||
@computed("field.value") showStaffCount: staffCount => staffCount > 1
|
||||
@computed("field.value")
|
||||
showStaffCount: staffCount => staffCount > 1
|
||||
});
|
||||
|
||||
@@ -3,5 +3,6 @@ import computed from "ember-addons/ember-computed-decorators";
|
||||
export default Ember.Component.extend({
|
||||
classNameBindings: [":wizard-step-form", "customStepClass"],
|
||||
|
||||
@computed("step.id") customStepClass: stepId => `wizard-step-${stepId}`
|
||||
@computed("step.id")
|
||||
customStepClass: stepId => `wizard-step-${stepId}`
|
||||
});
|
||||
|
||||
@@ -31,7 +31,8 @@ export default Ember.Component.extend({
|
||||
this.autoFocus();
|
||||
},
|
||||
|
||||
@computed("step.index") showQuitButton: index => index === 0,
|
||||
@computed("step.index")
|
||||
showQuitButton: index => index === 0,
|
||||
|
||||
@computed("step.displayIndex", "wizard.totalSteps")
|
||||
showNextButton: (current, total) => current < total,
|
||||
@@ -39,7 +40,8 @@ export default Ember.Component.extend({
|
||||
@computed("step.displayIndex", "wizard.totalSteps")
|
||||
showDoneButton: (current, total) => current === total,
|
||||
|
||||
@computed("step.index") showBackButton: index => index > 0,
|
||||
@computed("step.index")
|
||||
showBackButton: index => index > 0,
|
||||
|
||||
@computed("step.banner")
|
||||
bannerImage(src) {
|
||||
|
||||
Reference in New Issue
Block a user