Skip to content

Commit

Permalink
Step 6.4: Implement save button on the component logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and Dotan Simha committed Nov 22, 2016
1 parent b87d7e0 commit 71dd080
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions imports/ui/components/partyDetails/partyDetails.js
Expand Up @@ -21,6 +21,17 @@ class PartyDetails {
}
});
}

save() {
Parties.update({
_id: this.party._id
}, {
$set: {
name: this.party.name,
description: this.party.description
}
});
}
}

const name = 'partyDetails';
Expand Down

0 comments on commit 71dd080

Please sign in to comment.