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 8cc86a7 + f4eb948 commit af2c580Copy full SHA for af2c580
SBOLCanvasFrontend/src/app/download-graph/download-graph.component.ts
@@ -350,9 +350,12 @@ export class DownloadGraphComponent implements OnInit {
350
}
351
352
353
- if (!found)
354
- this.history.length = 0;
+ if (!found) {
+ this.history = [];
355
this.collection = collection;
356
+ localStorage.setItem('3collection', this.collection);
357
+ localStorage.setItem('3collection_history', JSON.stringify(this.history));
358
+ }
359
360
this.updateParts();
361
0 commit comments