Explorar el Código

Modify the validation failure to match Appian rule engine

master
Adwaith Rao hace 3 años
padre
commit
54c0af91b7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/app/pages/register-business/register-business.component.ts

+ 2
- 2
src/app/pages/register-business/register-business.component.ts Ver fichero

@@ -155,9 +155,9 @@ export class RegisterBusinessComponent implements OnInit {
checkName() {
this.formState = 'INIT_REGISTER';

if (this.nameToCheck === 'JK Enterprises') {
if (this.nameToCheck === `A'DROIT MANAGEMENT SERVICES`) {
this.error = {
message: this.nameToCheck + ' is unavailable',
message: this.nameToCheck + ' is unavailable. Entity with identical name exists',
isUnique: false,
isInvalid: false,
};


Cargando…
Cancelar
Guardar