Commit bcaaf98a authored by Aleksandr Ivanov's avatar Aleksandr Ivanov

fixed

parent f24c894f
......@@ -77,7 +77,7 @@ export class SystemsService {
public getAlertText(errObj): string{
let ret = null;
const code = errObj.code;
const code = errObj.code || errObj.error.code;
if (code === 'validation.system.shortNameAlreadyTaken'){
ret = 'Lühinimi on juba kasutusel';
} else {
......
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