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

Hid restore button from post version when it's the latest

No ref
This commit is contained in:
Sanne de Vries 2023-04-19 16:34:53 +01:00
parent adf796f26e
commit 1c3523c2ad

View file

@ -61,7 +61,7 @@
</div> </div>
<span class="gh-post-history-version-meta">{{revision.author.name}}</span> <span class="gh-post-history-version-meta">{{revision.author.name}}</span>
</button> </button>
{{#if revision.selected}} {{#if (and revision.selected (not revision.latest))}}
<button type="button" class="gh-post-history-version-restore"> <button type="button" class="gh-post-history-version-restore">
<span>Restore</span> <span>Restore</span>
</button> </button>