Skip to content

Commit 99d8157

Browse files
Merge pull request #1122 from bcgov/ccfri-8204-hide-organizationsoodstandingstatus-banner
ccfri-8204 yellow banner on landing page removed temporarily.
2 parents 5acf9ba + dff08d0 commit 99d8157

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

frontend/src/components/LandingPage.vue

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@
1010
</div>
1111

1212
<div class="pb-12 text-h4 text-center">What would you like to do?</div>
13-
14-
<AppAlertBanner v-if="showNotGoodStandingWarning" type="warning" class="mb-4 w-100">
15-
Your organization is not in good standing with BC Registries and Online Services. Being in good standing is a
16-
requirement to receive CCOF Funding. Contact BC Registries and Online Services immediately to resolve. Please
17-
disregard this message if you have already resolved your status.
18-
</AppAlertBanner>
19-
2013
<v-row>
2114
<v-col v-if="hasPermission(PERMISSIONS.DOWNLOAD_PCF_PDF)" cols="12" :lg="isCCOFStatusNew ? 6 : 4">
2215
<SmallCard>
@@ -386,7 +379,6 @@ import { mapState, mapActions } from 'pinia';
386379
import CancelApplicationDialog from '@/components/CancelApplicationDialog.vue';
387380
import EnrolmentReportDueDialog from '@/components/EnrolmentReportDueDialog.vue';
388381
import Spinner from '@/components/common/Spinner.vue';
389-
import AppAlertBanner from '@/components/guiComponents/AppAlertBanner.vue';
390382
import AppButton from '@/components/guiComponents/AppButton.vue';
391383
import FiscalYearSlider from '@/components/guiComponents/FiscalYearSlider.vue';
392384
import MessagesToolbar from '@/components/guiComponents/MessagesToolbar.vue';
@@ -410,7 +402,6 @@ import {
410402
APPLICATION_TYPES,
411403
CHANGE_REQUEST_EXTERNAL_STATUS,
412404
FUNDING_AGREEMENT_INTERNAL_STATUS_CODES,
413-
ORGANIZATION_GOOD_STANDING_STATUSES,
414405
ORGANIZATION_PROVIDER_TYPES,
415406
PATHS,
416407
pcfUrl,
@@ -435,7 +426,6 @@ import { formatFiscalYearName } from '@/utils/format';
435426
export default {
436427
name: 'LandingPage',
437428
components: {
438-
AppAlertBanner,
439429
AppButton,
440430
CancelApplicationDialog,
441431
EnrolmentReportDueDialog,
@@ -681,12 +671,6 @@ export default {
681671
isCCOFStatusNew() {
682672
return this.ccofStatus === this.CCOF_STATUS.NEW;
683673
},
684-
showNotGoodStandingWarning() {
685-
return (
686-
this.userInfo?.organizationGoodStandingStatus === ORGANIZATION_GOOD_STANDING_STATUSES.FAIL &&
687-
!this.userInfo.organizationBypassGoodStandingCheck
688-
);
689-
},
690674
showOrganizationClosuresButton() {
691675
if (!this.hasPermission(this.PERMISSIONS.VIEW_CLOSURES)) {
692676
return false;

frontend/tests/cypress/component/LandingPage.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('<LandingPage />', () => {
8484
cy.contains('Organization Name:').should('not.exist');
8585
});
8686

87-
it('should not display app alert if good standing', () => {
87+
/* it('should not display app alert if good standing', () => {
8888
mountWithPinia({
8989
...createAuthStore({
9090
organizationGoodStandingStatus: '',
@@ -106,7 +106,7 @@ describe('<LandingPage />', () => {
106106
});
107107
108108
cy.contains('Your organization is not in good standing with BC Registries and Online Services.').should('exist');
109-
});
109+
});*/
110110

111111
context('Application Status Card ', () => {
112112
const authWithDownloadPerm = createAuthStore({}, { permissions: [PERMISSIONS.DOWNLOAD_PCF_PDF] });

0 commit comments

Comments
 (0)