diff --git a/devdata/index-v2.tinysearch b/devdata/index-v2.tinysearch index 1af5824..2447f39 100644 Binary files a/devdata/index-v2.tinysearch and b/devdata/index-v2.tinysearch differ diff --git a/front-end/src/components/organisms/save.js b/front-end/src/components/organisms/save.js index 38f2dbe..f2ec09e 100644 --- a/front-end/src/components/organisms/save.js +++ b/front-end/src/components/organisms/save.js @@ -75,8 +75,8 @@ export default define('save', class extends HTMLLIElement { return; } - if (localStorage.length > 0) { - const key = this.__getOldestCurationKey(); + const key = this.__getOldestCurationKey(); + if (key !== null) { const value = JSON.parse(localStorage.getItem(key)); console.log("Value", value); const url = CURATION_URL + value['type']; diff --git a/mwmbl/templates/index.html b/mwmbl/templates/index.html index 0afe5fa..2dbfe80 100644 --- a/mwmbl/templates/index.html +++ b/mwmbl/templates/index.html @@ -59,10 +59,10 @@ {##}
- +
Login Sign up
mwmbl logo