Add support for custom environments in GitLab integration

This commit is contained in:
Tuan Dang
2023-05-17 14:25:18 +03:00
parent a9b642e618
commit 429bfd27b2
3 changed files with 62 additions and 21 deletions
@@ -191,6 +191,17 @@ const IntegrationTile = ({
/>
</div>
);
case 'gitlab':
return (
<div>
<div className="mb-2 text-xs font-semibold text-gray-400">ENVIRONMENT</div>
<ListBox
data={null}
isSelected={integration.targetEnvironment}
onChange={setIntegrationTargetEnvironment}
/>
</div>
);
default:
return <div />;
}