From c16128378accd5cfb10fe45bf88a405df4ddf884 Mon Sep 17 00:00:00 2001 From: eve-git Date: Wed, 17 Apr 2024 09:13:24 -0700 Subject: [PATCH] disable Action button when change name to a numbered company and is not in supported change name FF --- package-lock.json | 4 ++-- package.json | 2 +- src/components/new-request/search.vue | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f1e0c7cfb..a91b0d6ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "name-request", - "version": "5.4.4", + "version": "5.4.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "name-request", - "version": "5.4.4", + "version": "5.4.5", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/breadcrumb": "2.1.24", diff --git a/package.json b/package.json index 4968bdd33..e955c9e62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "name-request", - "version": "5.4.4", + "version": "5.4.5", "private": true, "appName": "Name Request UI", "sbcName": "SBC Common Components", diff --git a/src/components/new-request/search.vue b/src/components/new-request/search.vue index ec60b793b..401eaacf7 100644 --- a/src/components/new-request/search.vue +++ b/src/components/new-request/search.vue @@ -540,7 +540,10 @@ export default class Search extends Mixins(CommonMixin, NrAffiliationMixin, Sear } // Conditional for Change Name Flow. - if (this.isChangeName && this.isNumberedCompany) return true + if (this.isChangeName && + this.isNumberedCompany && + this.isSupportedChangeName(this.getEntityTypeCd) + ) return true // Conditional for Restoration/Reinstatement Flow. if (