Parcourir la source

Modify the validation failure to match Appian rule engine

master
Adwaith Rao il y a 3 ans
Parent
révision
54c0af91b7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      src/app/pages/register-business/register-business.component.ts

+ 2
- 2
src/app/pages/register-business/register-business.component.ts Voir le fichier

@@ -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,
};


Chargement…
Annuler
Enregistrer