ui: Mark locked theme as « Confidential »
This commit is contained in:
parent
d4ce0dd474
commit
838ce2fb3f
2 changed files with 38 additions and 27 deletions
|
|
@ -49,7 +49,7 @@ func ExportThemes() (interface{}, error) {
|
|||
return nil, err
|
||||
} else {
|
||||
for _, exercice := range exercices {
|
||||
if exercice.Disabled {
|
||||
if exercice.Disabled && theme.Locked {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue