Skip to content

Commit

Permalink
updates page fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau committed Dec 22, 2023
1 parent 9d16217 commit de7ae56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(app)/updates/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
function updateall() {
if (!$update.data?.chapters) return;
if (!$all) {
$all = $update.data.chapters;
$all = structuredClone($update.data.chapters);
return;
}
$all.nodes.push(...$update.data.chapters.nodes);
Expand Down

0 comments on commit de7ae56

Please sign in to comment.