Fix bug in selection of screens to cache

zio/stable
Paul Frazee 2022-09-01 13:30:57 -05:00
parent bb51af5ae9
commit 5f48cb5e27
2 changed files with 2 additions and 3 deletions

View File

@ -41,7 +41,7 @@ export class NavigationTabModel {
getBackList(n: number) { getBackList(n: number) {
const start = Math.max(this.index - n, 0) 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) => ({ return this.history.slice(start, end).map((item, i) => ({
url: item.url, url: item.url,
title: item.title, title: item.title,

View File

@ -14,4 +14,3 @@ Paul's todo list
- Follows list - Follows list
- Bugs - Bugs
- Check that sub components arent reloading too much - Check that sub components arent reloading too much
- Check that caching is choosing the right views