feat: remove integration button

This commit is contained in:
karishmas6
2024-10-21 02:39:13 +05:30
parent 71b6d047d1
commit d79fa77f3a

View File

@@ -118,6 +118,7 @@ export const IntegrationSettingsModal = ({ isOpen, handleStart, handleClose }: I
<Typography sx={{ margin: '20px 0px' }}>Google Sheets Integration</Typography>
{recording && recording.google_sheet_id ? (
<>
<Typography sx={{ marginBottom: '10px' }}>
Google Sheet Integrated Successfully!
<br />
@@ -125,6 +126,15 @@ export const IntegrationSettingsModal = ({ isOpen, handleStart, handleClose }: I
<br />
Sheet ID: {recording.google_sheet_id}
</Typography>
<Button
variant="outlined"
color="error"
onClick={removeIntegration}
style={{ marginTop: '15px' }}
>
Remove Integration
</Button>
</>
) : (
<>
{!recording?.google_sheet_email ? (