Skip to content

Commit

Permalink
Step 5.13: Implement removeParty method
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored and dotansimha committed Nov 27, 2016
1 parent a947b29 commit a6a2fe9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/imports/app/app.component.ts
Expand Up @@ -16,4 +16,8 @@ export class AppComponent {
constructor() {
this.parties = Parties.find({}).zone();
}

removeParty(party: Party): void {
Parties.remove(party._id);
}
}

0 comments on commit a6a2fe9

Please sign in to comment.