Skip to content

Commit

Permalink
AE-2012: Remove title fields when passing user details to laatija use…
Browse files Browse the repository at this point in the history
…r form
  • Loading branch information
Juholei committed Jan 12, 2024
1 parent 5582ee8 commit a450cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etp-front/src/pages/kayttaja/existing-kayttaja.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
const mergeKayttajaLaatija = (kayttaja, laatija) =>
R.compose(
Laatija.toLaatijaForm,
R.omit(['kayttaja', 'cognitoid', 'ensitallennus', 'virtu']),
R.omit(['kayttaja', 'cognitoid', 'ensitallennus', 'virtu', 'titteli-fi', 'titteli-sv']),
R.mergeRight
)(kayttaja, R.omit(['henkilotunnus'], laatija));
Expand Down

0 comments on commit a450cc2

Please sign in to comment.