0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Hid slash menu when there are no items to display

no issue

- doesn't make sense to show a plain white box with a shadow
This commit is contained in:
Kevin Ansfield 2020-04-21 09:12:39 +01:00
parent cd832a15bb
commit bdf7a1ba8a

View file

@ -1,4 +1,4 @@
{{#if this.showMenu}}
{{#if (and this.showMenu this.itemSections)}}
<div class="koenig-cardmenu {{kg-style "cardmenu"}}">
<KoenigMenuContent @itemSections={{this.itemSections}} @itemClicked={{action "itemClicked"}} />
</div>