From ff16091f51ec68ce1bb3c514c9c6694ca390cacf Mon Sep 17 00:00:00 2001 From: Zokhoi <20432565+Zokhoi@users.noreply.github.com> Date: Mon, 25 Sep 2023 19:57:59 +0800 Subject: [PATCH] Load page history on history flag --- framerail/src/routes/[slug]/[...extra]/page.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framerail/src/routes/[slug]/[...extra]/page.svelte b/framerail/src/routes/[slug]/[...extra]/page.svelte index 121638fdaa..9217872dc0 100644 --- a/framerail/src/routes/[slug]/[...extra]/page.svelte +++ b/framerail/src/routes/[slug]/[...extra]/page.svelte @@ -81,6 +81,8 @@ }).then(res=>res.json()) $: showHistory = true } + + if (data?.options.history) handleHistory()

UNTRANSLATED:Loaded page