Ghost/ghost/admin/app/components/settings/signup-form-embed.js
Simon Backx 14e05a6f0f 🐛 Disabled signup form embed menu when members are disabled
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
2023-06-14 14:57:08 +02:00

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, {}, {});
}
}