string length
This commit is contained in:
parent
dcf77988c6
commit
66abcc0d43
2
app.js
2
app.js
@ -45,7 +45,7 @@ const vault = van.state(/**@type{CredSet[]}*/([]));
|
||||
const vaultSerialized = van.state("");
|
||||
|
||||
let attempts = 0;
|
||||
const preexisting = van.state(localStorage.getItem(writeKey).length>1 ? true : false);
|
||||
const preexisting = van.state((localStorage.getItem(writeKey)||"").length>2 ? true : false);
|
||||
const accessError = van.state(false);
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user