update text when secrets deleted after integ delete

This commit is contained in:
Maidul Islam
2024-08-06 10:07:41 -04:00
parent 881d70bc64
commit 2a1cfe15b4
@@ -311,7 +311,7 @@ export const IntegrationsSection = ({
checkIndicatorBg="text-white" checkIndicatorBg="text-white"
onCheckedChange={() => setShouldDeleteSecrets.toggle()} onCheckedChange={() => setShouldDeleteSecrets.toggle()}
> >
Delete secrets in destination Delete previously synced secrets from the destination
</Checkbox> </Checkbox>
</div> </div>
)} )}
@@ -321,7 +321,7 @@ export const IntegrationsSection = ({
title={`Are you sure you also want to delete secrets on ${ title={`Are you sure you also want to delete secrets on ${
(popUp?.deleteConfirmation.data as TIntegration)?.integration (popUp?.deleteConfirmation.data as TIntegration)?.integration
}?`} }?`}
subTitle="By confirming, all secrets managed by this integration will be deleted in the destination. This action is irreversible." subTitle="By confirming, you acknowledge that all secrets managed by this integration will be removed from the destination. This action is irreversible."
onChange={(isOpen) => handlePopUpToggle("deleteSecretsConfirmation", isOpen)} onChange={(isOpen) => handlePopUpToggle("deleteSecretsConfirmation", isOpen)}
deleteKey="confirm" deleteKey="confirm"
onDeleteApproved={async () => { onDeleteApproved={async () => {