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;
    }
}

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) || this.config.get('hostSettings').limits.customThemes.disabled;
    }
}

Fix UploadThemeController to support disable:true customThemes flag
Fix UploadThemeController to support disable:true customThemes flag

no issue
