Ghost/ghost/admin/app/controllers/settings/theme/uploadtheme.js
2021-04-09 11:16:37 +02:00

11 lines
272 B
JavaScript

import Controller from '@ember/controller';
import {inject as service} from '@ember/service';
export default class UploadThemeController extends Controller {
@service limit;
get isAllowed() {
return !this.limit.limiter.isLimited('customThemes');
}
}