0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Put email post toggle behind members feature flag

This commit is contained in:
Kevin Ansfield 2019-11-04 13:38:30 +07:00
parent 7866546fab
commit 6419222f31
2 changed files with 15 additions and 11 deletions

View file

@ -1,8 +1,10 @@
import Component from '@ember/component';
import moment from 'moment';
import {isEmpty} from '@ember/utils';
import {inject as service} from '@ember/service';
export default Component.extend({
feature: service(),
post: null,
saveType: null,

View file

@ -24,6 +24,7 @@
<div class="gh-publishmenu-radio-desc">Set automatic future publish date</div>
</div>
</div>
{{#if this.feature.labs.members}}
<div class="flex mb4">
<div class="for-switch mr3">
<label class="switch" for="email-when-published-checkbox">
@ -36,4 +37,5 @@
<div class="gh-publishmenu-radio-desc">Send email when published</div>
</div>
</div>
{{/if}}
</section>