Skip to content

Commit

Permalink
fix(app activation): overlay fix (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw authored Aug 4, 2023
1 parent 999760a commit 8299bee
Showing 1 changed file with 31 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,25 +144,37 @@ const ActivateSubscriptionOverlay = ({
<>
{activationResponse ? (
<div className="activationOverlay">
<DialogHeader
title=" "
intro={t('content.appSubscription.activation.successDescription')}
closeWithIcon={true}
icon={true}
iconComponent={
<CheckCircleOutlinedIcon sx={{ fontSize: 60 }} color="success" />
}
onCloseWithIcon={() => dispatch(closeOverlay())}
/>
<DialogContent>
<StaticTable data={tableData1} horizontal={false} />
<StaticTable data={tableData2} horizontal={false} />
</DialogContent>
<DialogActions>
<Button variant="outlined" onClick={closeActivationOverlay}>
{t('global.actions.close')}
</Button>
</DialogActions>
<Dialog
open={true}
sx={{
'.MuiDialog-paper': {
maxWidth: '45%',
},
}}
>
<DialogHeader
title=" "
intro={t('content.appSubscription.activation.successDescription')}
closeWithIcon={true}
icon={true}
iconComponent={
<CheckCircleOutlinedIcon
sx={{ fontSize: 60 }}
color="success"
/>
}
onCloseWithIcon={() => dispatch(closeOverlay())}
/>
<DialogContent>
<StaticTable data={tableData1} horizontal={false} />
<StaticTable data={tableData2} horizontal={false} />
</DialogContent>
<DialogActions>
<Button variant="outlined" onClick={closeActivationOverlay}>
{t('global.actions.close')}
</Button>
</DialogActions>
</Dialog>
</div>
) : (
<Dialog
Expand Down

0 comments on commit 8299bee

Please sign in to comment.