From 0acbb5e29e9c8f2decd4e3e118d05bd4714e4c90 Mon Sep 17 00:00:00 2001 From: CameronFreshworks <53542131+cameron-freshworks@users.noreply.github.com> Date: Wed, 22 Sep 2021 14:30:47 -0700 Subject: [PATCH] Type Mapping (#1775) --- .../components/auth/manage-business/AffiliatedEntityTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth-web/src/components/auth/manage-business/AffiliatedEntityTable.vue b/auth-web/src/components/auth/manage-business/AffiliatedEntityTable.vue index 002cbffc81..2651771cbf 100644 --- a/auth-web/src/components/auth/manage-business/AffiliatedEntityTable.vue +++ b/auth-web/src/components/auth/manage-business/AffiliatedEntityTable.vue @@ -232,14 +232,14 @@ export default class AffiliatedEntityTable extends Mixins(DateMixin) { } /** Returns the type of the affiliation */ - private type (item: Business): AffiliationTypes { + private type (item: Business): string { switch (true) { case (this.isNameRequest(item.corpType.code)): return AffiliationTypes.NAME_REQUEST case this.isTemporaryBusinessRegistration(item.corpType.code): return AffiliationTypes.INCORPORATION_APPLICATION default: - return AffiliationTypes.CORPORATION + return this.typeDescription(item.corpType.code as CorpTypeCd) } }