fix select all

This commit is contained in:
lhk1337 2022-01-23 17:24:55 +01:00
parent e2df1b923d
commit b772eda4d1
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -2,6 +2,6 @@
/public/build/ /public/build/
.DS_Store .DS_Store
/.routify
package-lock.json package-lock.json
pnpm-lock.yaml pnpm-lock.yaml
/.routify/

View file

@ -169,7 +169,7 @@
function selectAll() { function selectAll() {
chapters.then(res => { chapters.then(res => {
var chapters = res.results; var chapters = res.data;
if(arraysEqual(selected, chapters)) { if(arraysEqual(selected, chapters)) {
selected = []; selected = [];
} else { } else {