mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
11 lines
282 B
JavaScript
11 lines
282 B
JavaScript
|
import Controller from '@ember/controller';
|
||
|
import {inject as service} from '@ember/service';
|
||
|
|
||
|
export default class UploadThemeController extends Controller {
|
||
|
@service config;
|
||
|
|
||
|
get isAllowed() {
|
||
|
return !this.config.get('hostSettings')?.limits?.customThemes;
|
||
|
}
|
||
|
}
|