Frontend admin: Yleinen tieto toimeksiannosta sivusta palauttaa errorin jos issuer taulussa on alle 2 riviä.
Summary
If issuer table in the database has less than two values and user tries to navigate from addAssingment form step 1 to 2, the page runs into an error "TypeError: Cannot read property 'issuerDescription' of undefined"
Steps to reproduce
Have only 1 value on issuer table. Move from step 1 to step 2 on Add Assignment form.
What is the current bug behavior?
Page runs into an error
What is the expected correct behavior?
Page should show step 2 of form and all the dropdown menus should be populated
Relevant logs and/or screenshots
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)