Skip to content

Commit

Permalink
Merge branch 'SHIBUI-906' of bitbucket.org:unicon/shib-idp-ui into SH…
Browse files Browse the repository at this point in the history
…IBUI-906
  • Loading branch information
rmathis committed Nov 8, 2018
2 parents d4dd4c1 + 6f44a57 commit 3e8d79b
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ class JsonSchemaBuilderService {
property =
[title : it['displayName'],
description: it['helpText'],
type : it['displayType'],
default : it['defaultValue']]
type : it['displayType']]
if (it['displayType'] == 'boolean') {
property['defaultValue'] = (Boolean)(it['defaultValue'])
} else {
property['defaultValue'] = it['defaultValue']
}
}
properties[(String) it['name']] = property
}
Expand Down

0 comments on commit 3e8d79b

Please sign in to comment.