Commit 796e60d1 authored by Enriko Käsper's avatar Enriko Käsper
Browse files

Merge branch 'hotfix/TEIS-2417' into 'master'

Release: merge 'hotfix-teis-2417' into 'master' created by Enriko Käsper

See merge request teis/public-web-client!666
parents 9380a3ca 6ceb3d99
{
"name": "te-is",
"version": "1.29.0",
"version": "1.29.1",
"license": "MIT",
"scripts": {
"ng": "ng",
......
......@@ -62,7 +62,7 @@ export class ViolationsFacadeService {
const proceduralActViolationDto = violation.proceduralActViolations
.filter(paViolation => paViolation.firstDetection)
.pop();
const messageAddressees = addresseeType === 'PERSON' ?
const messageAddressees = addresseeType === 'OFFICIAL' ?
{ officialUserId: proceeding.officialUser.id } : { employerId: proceeding.legalPersonId };
return {
addresseeType,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment