Patch self-hosted gitlab integration

This commit is contained in:
Tuan Dang
2023-09-22 15:19:26 +01:00
parent 5b6c2e05f2
commit 32bec03adf
3 changed files with 8 additions and 0 deletions
@@ -84,6 +84,7 @@ export default function GitLabCreateIntegrationPage() {
const selectedSourceEnvironment = watch("selectedSourceEnvironment");
const targetEntity = watch("targetEntity");
const targetTeamId = watch("targetTeamId");
const targetAppIdValue = watch("targetAppId");
const { mutateAsync } = useCreateIntegration();
@@ -440,6 +441,7 @@ export default function GitLabCreateIntegrationPage() {
size="sm"
type="submit"
isLoading={isLoading}
isDisabled={targetAppIdValue === "none"}
>
Create Integration
</Button>