diff --git a/ghost/admin/app/components/gh-publishmenu-draft.js b/ghost/admin/app/components/gh-publishmenu-draft.js index ddea528aef..dcc1873d7f 100644 --- a/ghost/admin/app/components/gh-publishmenu-draft.js +++ b/ghost/admin/app/components/gh-publishmenu-draft.js @@ -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, diff --git a/ghost/admin/app/templates/components/gh-publishmenu-draft.hbs b/ghost/admin/app/templates/components/gh-publishmenu-draft.hbs index f2b336af2f..8d1c7de0f6 100644 --- a/ghost/admin/app/templates/components/gh-publishmenu-draft.hbs +++ b/ghost/admin/app/templates/components/gh-publishmenu-draft.hbs @@ -24,16 +24,18 @@
Set automatic future publish date
-
-
- + {{#if this.feature.labs.members}} +
+
+ +
+
+
Email to members
+
Send email when published
+
-
-
Email to members
-
Send email when published
-
-
+ {{/if}}