File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
src/projects/detail/components/BillingAccountField Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -90,16 +90,18 @@ class BillingAccountField extends React.Component {
9090 options = { this . state . billingAccounts }
9191 isDisabled = { this . state . billingAccounts . length === 0 }
9292 />
93- { this . state . selectedBillingAccount ? < div className = { styles . manageBillingAccountLinkWrapper } >
94- < a
95- className = { styles . manageBillingAccountLink }
96- href = { `${ SALESFORCE_BILLING_ACCOUNT_LINK } ${ this . state . selectedBillingAccount . value } ` }
97- target = "_blank"
98- rel = "noopener noreferrer"
99- >
93+ { this . state . selectedBillingAccount && (
94+ < div className = { styles . manageBillingAccountLinkWrapper } >
95+ < a
96+ className = { styles . manageBillingAccountLink }
97+ href = { `${ SALESFORCE_BILLING_ACCOUNT_LINK } ${ this . state . selectedBillingAccount . value } ` }
98+ target = "_blank"
99+ rel = "noopener noreferrer"
100+ >
100101 Manage the billing account in Salesforce
101- </ a >
102- </ div > : null }
102+ </ a >
103+ </ div >
104+ ) }
103105 </ div >
104106 )
105107 }
You can’t perform that action at this time.
0 commit comments