fix: requested changes

This commit is contained in:
Daniel Hougaard
2025-04-25 05:22:17 +04:00
parent f5fa57d6c5
commit 50679ba29d
16 changed files with 184 additions and 127 deletions
@@ -49,7 +49,7 @@ export const MicrosoftTeamsIntegrationForm = ({ id, onClose }: Props) => {
}
}, [microsoftTeamsIntegration]);
const handleSlackFormSubmit = async ({
const handleMicrosoftTeamsFormSubmit = async ({
slug,
description,
tenantId
@@ -97,7 +97,7 @@ export const MicrosoftTeamsIntegrationForm = ({ id, onClose }: Props) => {
};
return (
<form onSubmit={handleSubmit(handleSlackFormSubmit)} autoComplete="off">
<form onSubmit={handleSubmit(handleMicrosoftTeamsFormSubmit)} autoComplete="off">
<Controller
control={control}
name="slug"
@@ -214,7 +214,7 @@ export const OrgWorkflowIntegrationTab = withPermission(
onClick={async (e) => {
e.stopPropagation();
await triggerSlackReinstall(workflowIntegration.integration);
await triggerSlackReinstall(workflowIntegration.id);
}}
>
Reinstall