fix: idp changes (#872)

This commit is contained in:
Fabi 2020-10-20 08:23:56 +02:00 committed by GitHub
parent 4eb380a825
commit 46bc987b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ func (c *IDPConfig) Changes(changed *IDPConfig) map[string]interface{} {
if changed.Name != "" && c.Name != changed.Name {
changes["name"] = changed.Name
}
if changed.StylingType != changed.StylingType {
if c.StylingType != changed.StylingType {
changes["stylingType"] = changed.StylingType
}
return changes