diff --git a/client/imports/app/parties/party-details.component.ts b/client/imports/app/parties/party-details.component.ts index 6c5344889..3abaa712b 100644 --- a/client/imports/app/parties/party-details.component.ts +++ b/client/imports/app/parties/party-details.component.ts @@ -32,6 +32,16 @@ export class PartyDetailsComponent implements OnInit, OnDestroy { }); } + saveParty() { + Parties.update(this.party._id, { + $set: { + name: this.party.name, + description: this.party.description, + location: this.party.location + } + }); + } + ngOnDestroy() { this.paramsSub.unsubscribe(); }