Show separator only when there’s wishlisted records
This commit is contained in:
@@ -178,7 +178,7 @@
|
|||||||
records_count={@collection_records_count}
|
records_count={@collection_records_count}
|
||||||
record_path={fn record -> ~p"/collection/#{record}" end}
|
record_path={fn record -> ~p"/collection/#{record}" end}
|
||||||
/>
|
/>
|
||||||
<.separator class="mt-8 mb-8" />
|
<.separator :if={@wishlist_records_count > 0} class="mt-8 mb-8" />
|
||||||
<.record_grid
|
<.record_grid
|
||||||
:if={@wishlist_records_count > 0}
|
:if={@wishlist_records_count > 0}
|
||||||
title={gettext("Wishlist")}
|
title={gettext("Wishlist")}
|
||||||
|
|||||||
Reference in New Issue
Block a user