From b772eda4d13e01dc8ee37317f0561a473c40cbd2 Mon Sep 17 00:00:00 2001 From: lhk1337 <25325997+lhk1337@users.noreply.github.com> Date: Sun, 23 Jan 2022 17:24:55 +0100 Subject: [PATCH] fix select all --- .gitignore | 4 ++-- src/pages/[manga]/index.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 56ac342..b717609 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,6 @@ /public/build/ .DS_Store -/.routify package-lock.json -pnpm-lock.yaml \ No newline at end of file +pnpm-lock.yaml +/.routify/ diff --git a/src/pages/[manga]/index.svelte b/src/pages/[manga]/index.svelte index 0355a5a..56f532b 100644 --- a/src/pages/[manga]/index.svelte +++ b/src/pages/[manga]/index.svelte @@ -169,7 +169,7 @@ function selectAll() { chapters.then(res => { - var chapters = res.results; + var chapters = res.data; if(arraysEqual(selected, chapters)) { selected = []; } else {