Merge pull request #17542 from ShirasawaSama/patch-23

feat: do not initiate requests when the ChangelogModal is not open to speed up page loading
This commit is contained in:
Tim Jaeryang Baek 2025-09-18 17:48:51 -05:00 committed by GitHub
commit 0159a33306
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,10 +19,11 @@
let changelog = null;
onMount(async () => {
const res = await getChangelog();
changelog = res;
});
const init = async () => {
changelog = await getChangelog();
};
$: show && init();
</script>
<Modal bind:show size="xl">