We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f920ec + ffdfd58 commit 100762dCopy full SHA for 100762d
src/deepscatter.ts
@@ -199,8 +199,8 @@ class Scatterplot<T extends Tile> {
199
if (params.useNameCache && params.name && this.selection_history.length > 0) {
200
const old_version = this.selection_history.find((x) => x.name === params.name);
201
// If we have a cached version, move the cached version to the end and return it.
202
- this.selection_history = [...this.selection_history.filter((x) => x.name !== params.name), old_version];
203
if (old_version) {
+ this.selection_history = [...this.selection_history.filter((x) => x.name !== params.name), old_version];
204
return old_version.selection;
205
}
206
0 commit comments