misc: addressed review comments

This commit is contained in:
Sheen Capadngan
2024-10-24 19:20:21 +08:00
parent e1dbe769a8
commit 4db79edf19
4 changed files with 12 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ export type TIntegration = {
secretSuffix?: string;
secretPrefix?: string;
syncBehavior?: IntegrationSyncBehavior;
initialSyncBehavior: IntegrationSyncBehavior;
mappingBehavior?: IntegrationMappingBehavior;
scope: string;
org: string;

View File

@@ -166,6 +166,7 @@ export default function AzureAppConfigurationCreateIntegration() {
>
<Select
className="w-full border border-mineshaft-500"
dropdownContainerClassName="max-w-full"
value={field.value}
onValueChange={(val) => {
field.onChange(val);
@@ -230,6 +231,7 @@ export default function AzureAppConfigurationCreateIntegration() {
defaultValue={field.value}
onValueChange={(e) => onChange(e)}
className="w-full border border-mineshaft-500"
dropdownContainerClassName="max-w-full"
>
{initialSyncBehaviors.map((b) => {
return (

View File

@@ -17,6 +17,7 @@ const metadataMappings: Record<keyof NonNullable<TIntegrationWithEnv["metadata"]
secretSuffix: "Secret Suffix",
secretPrefix: "Secret Prefix",
syncBehavior: "Secrets Sync behavior",
initialSyncBehavior: "Initial Sync Behavior",
mappingBehavior: "Secrets Mapping Behavior",
scope: "Scope",
org: "Organization",