fix copy issue + update log page to show type

master
TZGyn 6 months ago
parent 582285fe3e
commit 3762fdc4c9
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -7,6 +7,7 @@
<!-- <Table.Caption>A list of your recent invoices.</Table.Caption> --> <!-- <Table.Caption>A list of your recent invoices.</Table.Caption> -->
<Table.Header> <Table.Header>
<Table.Row> <Table.Row>
<Table.Head class="w-[100px]">Type</Table.Head>
<Table.Head class="w-[100px]">Status</Table.Head> <Table.Head class="w-[100px]">Status</Table.Head>
<Table.Head class="w-[400px]">Request</Table.Head> <Table.Head class="w-[400px]">Request</Table.Head>
<Table.Head class="w-[400px]">Payload</Table.Head> <Table.Head class="w-[400px]">Payload</Table.Head>
@ -17,6 +18,7 @@
<Table.Body> <Table.Body>
{#each data.logs as log (log)} {#each data.logs as log (log)}
<Table.Row> <Table.Row>
<Table.Cell class="font-medium">{log.type}</Table.Cell>
<Table.Cell class="font-medium">{log.status}</Table.Cell> <Table.Cell class="font-medium">{log.status}</Table.Cell>
<Table.Cell class="flex-col"> <Table.Cell class="flex-col">
<pre> <pre>

@ -21,7 +21,7 @@
validators: zod(formSchema), validators: zod(formSchema),
onSubmit: ({}) => { onSubmit: ({}) => {
copy( copy(
json5.stringify( JSON.stringify(
{ {
...$formData, ...$formData,
entryPrice: '{trigger_entry_value}', entryPrice: '{trigger_entry_value}',

Loading…
Cancel
Save