diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-09-01 13:30:57 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-09-01 13:30:57 -0500 |
commit | 5f48cb5e27466a723ee0c651a5089fc0faf55a3f (patch) | |
tree | 27efc06fb97bea439b0273d22d1904ca452cce9c /src | |
parent | bb51af5ae9c405faafad3b9685eef545c3437adb (diff) | |
download | voidsky-5f48cb5e27466a723ee0c651a5089fc0faf55a3f.tar.zst |
Fix bug in selection of screens to cache
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/navigation.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/navigation.ts b/src/state/models/navigation.ts index d5338ac05..d984a536f 100644 --- a/src/state/models/navigation.ts +++ b/src/state/models/navigation.ts @@ -41,7 +41,7 @@ export class NavigationTabModel { getBackList(n: number) { const start = Math.max(this.index - n, 0) - const end = Math.min(this.index, n) + const end = this.index return this.history.slice(start, end).map((item, i) => ({ url: item.url, title: item.title, |