Skip to content
Snippets Groups Projects
Commit 669c82c9 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Handle multiple form submission errors

parent c0a3b6ac
No related branches found
No related tags found
No related merge requests found
......@@ -145,9 +145,9 @@ import JsonpTemplatePlugin from 'webpack/lib/JsonpTemplatePlugin';
if(response.status != 200)
{
if(data["errorMessage"] != null)
if(data["errorMessages"] != null)
{
this.errors.push(data["errorMessage"]);
this.errors = data["errorMessages"];
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment