0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Removed old publish menu from preview modal

refs https://github.com/TryGhost/Team/issues/1621

- the old publish menu will be fully deleted soon
- removing it from the preview modal is the minimal "fix" for interoperability with the new publish flow
- pre-cursor to tighter preview/publish modal integration
This commit is contained in:
Kevin Ansfield 2022-05-11 21:14:22 +01:00
parent e1c7360075
commit b285205c53

View file

@ -18,15 +18,6 @@
<button type="button" class="gh-btn {{if (eq this.tab "social") "gh-btn-group-selected"}} gh-post-preview-mode" {{on "click" (fn this.changeTab "social")}}><span>{{svg-jar "twitter"}}</span></button>
</div>
</div>
{{#unless this.session.user.isContributor}}
<GhPublishmenu
@post={{@data.post}}
@postStatus={{@data.post.status}}
@saveTask={{@data.saveTask}}
@setSaveType={{@data.setEditorSaveType}}
@uiContext="preview" />
{{/unless}}
</header>
{{#if this.saveFirstTask.isRunning}}