mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +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;
|
|
}
|
|
}
|