We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bacf4f commit ca3b875Copy full SHA for ca3b875
1 file changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx
@@ -236,8 +236,12 @@ const SubBlockRow = ({
236
knowledgeBaseId: typeof knowledgeBaseId === 'string' ? knowledgeBaseId : undefined,
237
})
238
239
+ // Mask password fields with dots
240
+ const isPasswordField = subBlock?.password === true
241
+ const maskedValue = isPasswordField && value && value !== '-' ? '•••' : null
242
+
243
// Use hydrated name if available, otherwise use the provided value
- const displayValue = credentialName || dropdownLabel || genericDisplayName || value
244
+ const displayValue = maskedValue || credentialName || dropdownLabel || genericDisplayName || value
245
246
return (
247
<div className='flex items-center gap-[8px]'>
0 commit comments