import Ember from 'ember';

export default Ember.Component.extend({
  actions: {
    addParty: function () {
      var parties = this.get('model.statement.sharingParties');
      if (! parties) {
        this.set('model.statement.sharingParties', Ember.A(['one']));
      }
      else {
        parties.pushObject('more');
      }
    }
  },
});

@@ -175,22 +175,16 @@
     
- if (!
  parties
 ) %7B%0A
@@ -183,146 +183,33 @@
 ties
-) %7B%0A        this.set('model.statement.sharingParties', Ember.A(%5B'one'%5D));%0A      %7D%0A      else %7B%0A        parties.pushObject('more');%0A      %7D
+.pushObject(Ember.A(%7B%7D));
 %0A   

fix bug: adding extra third parties was broken.