Enhance category management: update adventure category assignment logic, improve category display in UI components, and add dynamic sorting for category dropdown

This commit is contained in:
Sean Morley
2024-11-26 20:06:52 -05:00
parent adf45ff557
commit f878167a36
6 changed files with 441 additions and 429 deletions

View File

@@ -126,7 +126,7 @@
on:click={togglePopup}
>
<span class="text-xl">
{adventure.category?.display_name + ' ' + adventure.category?.icon}
{adventure.category?.icon}
</span>
{#if isPopupOpen}
<Popup openOn="click" offset={[0, -10]} on:close={() => (isPopupOpen = false)}>