mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Removed Refresh button if a post is not emailed
This commit is contained in:
parent
ac345aa84d
commit
e4ca2088e9
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
{{#if (feature "publishFlowEndScreen")}}
|
||||
<div style="display: flex; gap: 8px;">
|
||||
{{#if (feature "postAnalyticsRefresh")}}
|
||||
{{#if (or this.post.emailOnly this.post.hasBeenEmailed)}}
|
||||
<GhTaskButton
|
||||
@buttonText="Refresh"
|
||||
@task={{this.fetchPostTask}}
|
||||
|
@ -45,6 +46,7 @@
|
|||
@successText="Refreshed"
|
||||
@class="gh-btn gh-btn-icon refresh"
|
||||
@successClass="gh-btn gh-btn-icon refresh" />
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#unless this.post.emailOnly}}
|
||||
<button type="button" class="gh-post-list-cta share" {{on "click" this.togglePublishFlowModal}}>
|
||||
|
|
Loading…
Reference in a new issue