Этот коммит содержится в:
Conor Macpherson
2023-04-04 09:23:42 -04:00
родитель 0ce1b6c12c
Коммит 2f010f9f6a
5 изменённых файлов: 128 добавлений и 126 удалений

Просмотреть файл

@@ -68,11 +68,11 @@ const EnterpriseEditionLeftPanel = ({
useEffect(() => {
console.log(actionQueryParam);
if (actionQueryParam === 'show_expansion_modal' && canExpand && isSelfHostedExpansionEnabled) {
console.log("Open modal!");
console.log('Open modal!');
selfHostedExpansionModal.open();
query.set('action', '');
}
}, [])
}, []);
useEffect(() => {
async function fetchUnSanitizedLicense() {

Просмотреть файл

@@ -103,7 +103,7 @@ const OverageUsersBannerNotice = () => {
const handleClick = () => {
trackEventFn(isExpandable ? 'Self Serve' : 'Contact Sales');
if (isExpandable) {
selfHostedExpansionModal.open()
selfHostedExpansionModal.open();
}
};
@@ -120,7 +120,7 @@ const OverageUsersBannerNotice = () => {
>
{cta}
</NavLink>
)
);
}
return (

Просмотреть файл

@@ -519,7 +519,9 @@ export default function SelfHostedExpansionModal() {
{formState.error && (
<ErrorPage
canRetry={canRetry}
tryAgain={() => {setFormState({...formState, submitting: false, error: ''})}}
tryAgain={() => {
setFormState({...formState, submitting: false, error: ''});
}}
/>
)}
<div className='background-svg'>