Skip to content

Commit

Permalink
remove alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
hams7504 committed Oct 19, 2023
1 parent a64162b commit 3e198ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/dar_application/ResearcherInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,17 @@ export default function ResearcherInfo(props) {
div({
datacy: 'researcher-info-missing-library-cards',
isRendered: libraryCardReqSatisfied === false, className: 'rp-alert' }, [
Alert({ id: 'missingLibraryCard', type: 'danger', title: missingLibraryCard })
!readOnlyMode && Alert({ id: 'missingLibraryCard', type: 'danger', title: missingLibraryCard })
]),
div({
datacy: 'researcher-info-profile-unsubmitted',
isRendered: (completed === false && libraryCardReqSatisfied === true), className: 'rp-alert' }, [
Alert({ id: 'profileUnsubmitted', type: 'danger', title: profileUnsubmitted })
!readOnlyMode && Alert({ id: 'profileUnsubmitted', type: 'danger', title: profileUnsubmitted })
]),
div({
datacy: 'researcher-info-profile-submitted',
isRendered: (completed === true && libraryCardReqSatisfied === true), className: 'rp-alert' }, [
Alert({ id: 'profileSubmitted', type: 'info', title: profileSubmitted })
!readOnlyMode && Alert({ id: 'profileSubmitted', type: 'info', title: profileSubmitted })
]),
]),
div({ className: 'flex-row', style: { justifyContent: 'flex-start' } }, [
Expand Down

0 comments on commit 3e198ca

Please sign in to comment.