mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
14e05a6f0f
fixes https://github.com/TryGhost/Team/issues/3470 - When members are disabled or invite only, the signup form embed should be disabled - The comments access setting is now also disabled if members are disabled - The tiers menus are now also disabled if members are disabled
15 lines
411 B
JavaScript
15 lines
411 B
JavaScript
import Component from '@glimmer/component';
|
|
import SignupFormEmbedModal from '../../components/modals/settings/signup-form-embed';
|
|
import {action} from '@ember/object';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class SignupFormEmbed extends Component {
|
|
@service modals;
|
|
@service settings;
|
|
|
|
@action
|
|
open() {
|
|
this.modals.open(SignupFormEmbedModal, {}, {});
|
|
}
|
|
}
|