diff --git a/client/imports/app/app.component.ts b/client/imports/app/app.component.ts index 99a449589..02d31fc99 100644 --- a/client/imports/app/app.component.ts +++ b/client/imports/app/app.component.ts @@ -16,4 +16,8 @@ export class AppComponent { constructor() { this.parties = Parties.find({}).zone(); } + + removeParty(party: Party): void { + Parties.remove(party._id); + } }