Reinstate save
This commit is contained in:
parent
b28ec062ca
commit
d8a3e29282
Binary file not shown.
|
@ -75,8 +75,8 @@ export default define('save', class extends HTMLLIElement {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (localStorage.length > 0) {
|
const key = this.__getOldestCurationKey();
|
||||||
const key = this.__getOldestCurationKey();
|
if (key !== null) {
|
||||||
const value = JSON.parse(localStorage.getItem(key));
|
const value = JSON.parse(localStorage.getItem(key));
|
||||||
console.log("Value", value);
|
console.log("Value", value);
|
||||||
const url = CURATION_URL + value['type'];
|
const url = CURATION_URL + value['type'];
|
||||||
|
|
|
@ -59,10 +59,10 @@
|
||||||
<!-- Javasript entrypoint -->
|
<!-- Javasript entrypoint -->
|
||||||
{#<script src="/static/src/index.js" type="module"></script>#}
|
{#<script src="/static/src/index.js" type="module"></script>#}
|
||||||
<header class="search-menu compact">
|
<header class="search-menu compact">
|
||||||
<!-- <ul>
|
<ul>
|
||||||
<li is="${save}"></li>
|
<li is="mwmbl-save"></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div><a href="/accounts/login/">Login</a> <a href="/accounts/signup/">Sign up</a> </div> -->
|
<div><a href="/accounts/login/">Login</a> <a href="/accounts/signup/">Sign up</a> </div>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<div class="branding">
|
<div class="branding">
|
||||||
<img class="brand-icon" src="/static/images/logo.svg" width="40" height="40" alt="mwmbl logo">
|
<img class="brand-icon" src="/static/images/logo.svg" width="40" height="40" alt="mwmbl logo">
|
||||||
|
|
Loading…
Reference in a new issue