mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 13:22:39 +03:00
7b99c555c5
commit d350a58769
11 lines
272 B
JavaScript
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');
|
|
}
|
|
}
|