mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Fixed email debug page always showing error + breadcrumb
This commit is contained in:
parent
9b276e6aa2
commit
928a73c536
@ -6,7 +6,7 @@
|
||||
Posts
|
||||
</LinkTo>
|
||||
{{svg-jar "arrow-right-small"}}
|
||||
<LinkTo @route="posts.analytics" @model={{@model.id}}>
|
||||
<LinkTo @route="posts.analytics" @model={{this.post.id}}>
|
||||
Analytics
|
||||
</LinkTo>
|
||||
{{svg-jar "arrow-right-small"}}
|
||||
@ -40,6 +40,7 @@
|
||||
{{/let}}
|
||||
</div>
|
||||
</div>
|
||||
{{#if (eq this.post.email.status 'failed') }}
|
||||
<div class="gh-box gh-box-error gh-box-tip gh-email-debug-error">
|
||||
{{svg-jar "warning"}}
|
||||
<div class="gh-email-debug-errortext">
|
||||
@ -48,6 +49,7 @@
|
||||
</div>
|
||||
<button type="button" class="gh-btn gh-btn-primary gh-btn-icon gh-btn-red ember-view self-center"><span>Retry</span></button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</GhCanvasHeader>
|
||||
|
||||
|
@ -13,12 +13,7 @@ export default class Debug extends AuthenticatedRoute {
|
||||
'authors.roles',
|
||||
'email',
|
||||
'tiers',
|
||||
'newsletter',
|
||||
'count.conversions',
|
||||
'count.clicks',
|
||||
'sentiment',
|
||||
'count.positive_feedback',
|
||||
'count.negative_feedback'
|
||||
'newsletter'
|
||||
].join(',')
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user