refactor: update installed app component to handle missing params and improve type safety (#27331)
This commit is contained in:
@@ -50,7 +50,7 @@ const EndpointModal: FC<Props> = ({
|
||||
|
||||
// Fix: Process boolean fields to ensure they are sent as proper boolean values
|
||||
const processedCredential = { ...tempCredential }
|
||||
formSchemas.forEach((field) => {
|
||||
formSchemas.forEach((field: any) => {
|
||||
if (field.type === 'boolean' && processedCredential[field.name] !== undefined) {
|
||||
const value = processedCredential[field.name]
|
||||
if (typeof value === 'string')
|
||||
|
||||
Reference in New Issue
Block a user