Skip to content

Commit

Permalink
SHIBUI-1788
Browse files Browse the repository at this point in the history
re-fixing a change that was reverted
  • Loading branch information
chasegawa committed Jun 30, 2021
1 parent 2eeab51 commit 2b10309
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package edu.internet2.tier.shibboleth.admin.ui.service

import edu.internet2.tier.shibboleth.admin.ui.configuration.CustomPropertiesConfiguration
import edu.internet2.tier.shibboleth.admin.ui.domain.IRelyingPartyOverrideProperty
import edu.internet2.tier.shibboleth.admin.ui.security.model.User
import edu.internet2.tier.shibboleth.admin.ui.security.service.UserService
import org.springframework.beans.factory.annotation.Autowired
Expand Down Expand Up @@ -35,7 +36,7 @@ class JsonSchemaBuilderService {
property =
[title : it['displayName'],
description : it['helpText'],
type : it['displayType'],
type : ((IRelyingPartyOverrideProperty)it).getTypeForUI(),
default : it['displayType'] == 'boolean' ? Boolean.getBoolean(it['defaultValue']) : it['defaultValue'],
examples : it['examples']]
}
Expand Down

0 comments on commit 2b10309

Please sign in to comment.