Skip to content

Commit 616f990

Browse files
committed
Fixes #283 - Passwords should be obscured in parameter input boxes
1 parent f500aca commit 616f990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/schema-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function getTypeInfo(schema) {
2222
: '',
2323
deprecated: schema.deprecated ? '❌' : '',
2424
example: typeof schema.example === 'undefined' ? '' : `${schema.example}`,
25-
default: schema.default === 0 ? '0' : (schema.default ? schema.default : ''),
25+
default: typeof schema.default === 'undefined' ? '' : `${schema.default}`,
2626
description: schema.description ? schema.description : '',
2727
constrain: '',
2828
allowedValues: '',

0 commit comments

Comments
 (0)