fixes icon & upload trail id
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user