fix: tabs now work

This commit is contained in:
Arman
2023-07-17 16:26:20 +02:00
parent 376f9384b6
commit c8223b990c
+4 -3
View File
@@ -167,7 +167,7 @@
</p>
</Alert>
{/if}
{:else if (selectedRequest = 'headers')}
{:else if selectedRequest === 'headers'}
{#if $log.data.headers?.headers?.length}
<TableList>
{#each $log.data.headers.headers as params}
@@ -200,7 +200,7 @@
</p>
</Alert>
{/if}
{:else if (selectedRequest = 'body')}
{:else if selectedRequest === 'body'}
{#if $log.data.headers?.body?.length}
<Code withCopy noMargin code={$log.data.body} lang="sh" />
{:else}
@@ -221,7 +221,8 @@
>.
</p>
</Alert>
{/if}{/if}
{/if}
{/if}
</div>
<div class="grid-1-2-col-2 u-flex u-flex-vertical u-gap-16">
<Heading tag="h3" size="6">Response</Heading>