mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed post diffing not being hidden behind feature flag
This commit is contained in:
parent
e5066252bd
commit
ffcba43aa9
1 changed files with 4 additions and 11 deletions
|
@ -3,18 +3,11 @@
|
|||
<div class="gh-post-history-main">
|
||||
<div class="gh-koenig-editor-pane flex flex-column mih-100 {{if this.showDifferences "show-diff" ""}}">
|
||||
<div class="gh-editor-feature-image-container"></div>
|
||||
{{#if this.diffHtml}}
|
||||
{{#if this.showDifferences}}
|
||||
{{{this.diffHtml}}}
|
||||
{{#if (and this.diffHtml this.showDifferences (feature 'postDiffing'))}}
|
||||
{{{this.diffHtml}}}
|
||||
{{else if this.selectedHTML}}
|
||||
{{{this.selectedHTML}}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#unless this.showDifferences}}
|
||||
{{#if this.selectedHTML}}
|
||||
{{{this.selectedHTML}}}
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
|
||||
<div class="gh-post-history-hidden-lexical previous">
|
||||
<div class="gh-editor-title">{{this.previousTitle}}</div>
|
||||
<KoenigLexicalEditor @lexical={{this.comparisonRevision.lexical}} @cardConfig={{this.cardConfig}} @registerAPI={{action "registerComparisonEditorApi"}}/>
|
||||
|
|
Loading…
Add table
Reference in a new issue