diff --git a/ui-svelte/src/components/AppSidebar.svelte b/ui-svelte/src/components/AppSidebar.svelte index 46ac4cb0..c8d6718c 100644 --- a/ui-svelte/src/components/AppSidebar.svelte +++ b/ui-svelte/src/components/AppSidebar.svelte @@ -60,7 +60,7 @@

diff --git a/ui-svelte/src/components/CaptureDialog.svelte b/ui-svelte/src/components/CaptureDialog.svelte index 5093686a..13ee6054 100644 --- a/ui-svelte/src/components/CaptureDialog.svelte +++ b/ui-svelte/src/components/CaptureDialog.svelte @@ -1,6 +1,7 @@ - { + if (!v) onclose(); + }} > - {#if capture} -
-
-

Capture #{capture.id + 1}{#if capture.req_path} {capture.req_path}{/if}

- -
+ + {#if capture} + + + Capture #{capture.id + 1}{#if capture.req_path} + {capture.req_path}{/if} + + -
+
@@ -272,14 +255,14 @@
{displayedRequestBody}
{:else}
(empty)
@@ -322,7 +305,7 @@ {#if isResponseImage && capture.resp_body}
{#if respBodyTab === "chat"}
@@ -408,7 +391,7 @@
{:else if responseBodyRaw}
(binary data - {responseContentType || "unknown content type"}) @@ -416,7 +399,7 @@
{:else}
(empty)
@@ -424,26 +407,26 @@
-
- + + + + {:else} +
+

Capture not found

+

The capture may have expired or was never recorded.

+
+ +
-
- {:else} -
-

Capture not found

-

The capture may have expired or was never recorded.

-
- -
-
- {/if} - + {/if} + +