From c14c51f1c112b7039a7b75bc9b176e4bf791650f Mon Sep 17 00:00:00 2001 From: BrandonSharratt Date: Mon, 25 Nov 2024 15:54:38 -0800 Subject: [PATCH] fix not in good standing staff change business information --- src/components/bcros/businessDetails/Links.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/bcros/businessDetails/Links.vue b/src/components/bcros/businessDetails/Links.vue index 4582de9e..0d8159a8 100644 --- a/src/components/bcros/businessDetails/Links.vue +++ b/src/components/bcros/businessDetails/Links.vue @@ -35,9 +35,7 @@ const isPendingDissolution = computed(() => { }) const isChangeBusinessInfoDisabled = computed(() => { - if (!currentBusiness.value.goodStanding) { - // todo: add staff exclusion. Staff should not be allowed to skip rules for business - // as if this is enabled, and not in good standing, only thing that will come is popup warning + if (!currentBusiness.value.goodStanding && !hasRoleStaff) { return false }