diff --git a/kernel/api/system.go b/kernel/api/system.go index 8eb975c48..f9a04ffc0 100644 --- a/kernel/api/system.go +++ b/kernel/api/system.go @@ -230,6 +230,11 @@ func exportConf(c *gin.Context) { return } + if nil != clonedConf.Appearance { + clonedConf.Appearance.DarkThemes = nil + clonedConf.Appearance.LightThemes = nil + clonedConf.Appearance.Icons = nil + } if nil != clonedConf.Editor { clonedConf.Editor.Emoji = []string{} }