0
Fork 0
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:
Daniël van der Winden 2024-08-28 15:09:26 +02:00
parent ac345aa84d
commit e4ca2088e9

View file

@ -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}}>