Skip to content

Commit 0aa14c3

Browse files
committed
fix: update default value documentation and ensure description is not undefined
1 parent 684a41c commit 0aa14c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Pages/GlobalConfigurations/BuildInfra/types.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export interface UseBuildInfraFormProps {
272272
*/
273273
handleSuccessRedirection?: () => void
274274
/**
275-
* @default - false
275+
* @default false
276276
*/
277277
canConfigureUseK8sDriver?: boolean
278278
}

src/Pages/GlobalConfigurations/BuildInfra/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const getBaseProfileObject = ({
138138
return {
139139
id: profile.id,
140140
name: profile.name,
141-
description: profile.description?.trim(),
141+
description: profile.description?.trim() || '',
142142
type: profile.type,
143143
appCount: profile.appCount,
144144
useK8sDriver,

0 commit comments

Comments
 (0)