fixes icon & upload trail id

This commit is contained in:
Christian Beutel
2024-06-28 13:30:21 +02:00
parent 018545bbcd
commit 9bc5a4cfc6
4 changed files with 25 additions and 17 deletions

View File

@@ -71,7 +71,7 @@
on:mousedown|stopPropagation={() => handleItemClick(item)}
>
{#if item.icon}
<i class="fa-regular fa-{item.icon} mr-3"></i>
<i class="fa fa-{item.icon} mr-3"></i>
{/if}
<span class="whitespace-nowrap">{item.text}</span>
</li>

View File

@@ -19,7 +19,7 @@ export async function PUT(event: RequestEvent) {
}
try {
await trails_create(trail, [], data, event.fetch);
trail = await trails_create(trail, [], data, event.fetch);
} catch (e: any) {
console.log(e);