Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BenElferink committed Feb 9, 2025
1 parent 1ad84c6 commit bab03b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/@types/destinations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface DestinationDynamicField {
name: DestinationYamlProperties['name']
componentType: DestinationYamlProperties['componentType']
title: DestinationYamlProperties['displayName']
value?: DestinationYamlProperties['initialValue']
value: DestinationYamlProperties['initialValue']
renderCondition?: DestinationYamlProperties['renderCondition']

// from "componentProperties"
Expand Down
2 changes: 1 addition & 1 deletion src/containers/action-drawer/build-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const buildCard = (action: Action) => {
}

if (samplingPercentage) {
arr.push({ title: 'Sampling Percentage', value: samplingPercentage })
arr.push({ title: 'Sampling Percentage', value: String(samplingPercentage) })
}

if (endpointsFilters) {
Expand Down
2 changes: 2 additions & 0 deletions src/containers/destination-form/destination-form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@ Default.args = {
name: 'JAEGER_TLS_ENABLED',
componentType: FIELD_TYPES.CHECKBOX,
title: 'Enable TLS',
value: '',
},
{
name: 'JAEGER_CA_PEM',
componentType: FIELD_TYPES.TEXTAREA,
title: 'Certificate Authority',
value: '',
},
],
setDynamicFields: () => {},
Expand Down

0 comments on commit bab03b8

Please sign in to comment.