mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fix customThemes flag
commit f65c5a7f8b
- disabled = true means that the feature is disabled
This commit is contained in:
parent
f65c5a7f8b
commit
47f0969ac2
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ export default class UploadThemeController extends Controller {
|
|||
@service config;
|
||||
|
||||
get isAllowed() {
|
||||
return (!this.config.get('hostSettings')?.limits?.customThemes) || this.config.get('hostSettings').limits.customThemes.disabled;
|
||||
return (!this.config.get('hostSettings')?.limits?.customThemes) || !this.config.get('hostSettings').limits.customThemes.disabled;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue