Show separator only when needed
This commit is contained in:
@@ -215,7 +215,10 @@
|
|||||||
record_show_path={fn record -> ~p"/collection/#{record}" end}
|
record_show_path={fn record -> ~p"/collection/#{record}" end}
|
||||||
record_edit_path={fn record -> ~p"/collection/#{record}/show/edit" end}
|
record_edit_path={fn record -> ~p"/collection/#{record}/show/edit" end}
|
||||||
/>
|
/>
|
||||||
<.separator :if={@wishlist_records_count > 0} class="mt-8 mb-8" />
|
<.separator
|
||||||
|
:if={@collection_records_count > 0 && @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