From dc11d124c520efb3372546c93f1772f3e60255d5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 04:52:49 +0000 Subject: [PATCH 1/2] Initial plan From 58ab67448565c25d0a3fc30a69788ab707d3d5c6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 04:54:39 +0000 Subject: [PATCH 2/2] Add guard to prevent fetch with empty URI Co-authored-by: cubap <1119165+cubap@users.noreply.github.com> --- js/vault.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/vault.js b/js/vault.js index 89809aa6..9051c860 100644 --- a/js/vault.js +++ b/js/vault.js @@ -159,6 +159,11 @@ class Vault { pageId: TPEN.screen?.pageInQuery, layerId: TPEN.screen?.layerInQuery }) + // Guard against empty/falsy URIs to avoid fetching the current page + if (!uri) { + if (seed) return hydrateFromObject(seed) + return null + } const response = await fetch(uri) if (!response.ok) { if (seed) return hydrateFromObject(seed)