Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(app): PRTL-226 add project info to files
Browse files Browse the repository at this point in the history
 - fix bug where incorrect access in cart

Closes #PRTL-226
  • Loading branch information
alex-wilmer committed Aug 8, 2016
1 parent 868131d commit 718d930
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/scripts/participant/participants.controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ module ngApp.participants.controllers {
}
};

// add project information to files for checking cart access
this.participant.files = this.participant.files.map(x =>
_.extend(x, { cases: [{ project: this.participant.project }] })
)

}

}
Expand Down

0 comments on commit 718d930

Please sign in to comment.