FIX: Test was broken

This commit is contained in:
Robin Ward 2016-09-22 10:01:25 -04:00
parent fa64b4a526
commit a09a09f686
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export default Ember.Component.extend({
this.set('field.value', JSON.stringify(users));
const staffCount = this.get('step.fieldsById.staff_count.value');
const staffCount = this.get('step.fieldsById.staff_count.value') || 1;
const showWarning = (staffCount < 3 && users.length === 0);
this.set('field.warning', showWarning ? 'invites.none_added' : null);