We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c98268 commit 439525aCopy full SHA for 439525a
src/sparql-editor.ts
@@ -65,6 +65,12 @@ export class SparqlEditor extends HTMLElement {
65
super();
66
67
this.meta = this.loadMetaFromLocalStorage();
68
+ // NOTE: will need to be removed at some point I guess
69
+ // Check if examples contain the index field, if not reset cache
70
+ if (this.currentEndpoint().examples?.some(example => example.index === undefined)) {
71
+ localStorage.removeItem("sparql-editor-metadata");
72
+ this.meta = {};
73
+ }
74
// console.log("Loaded metadata from localStorage", this.meta);
75
this.endpoints = (this.getAttribute("endpoint") || "").split(",").map(e => e.trim());
76
if (this.endpoints.length === 0)
0 commit comments