fix: hide file input if vault not sandbox

This commit is contained in:
quenousimporte 2023-02-01 14:34:02 +01:00
parent 9a0edbc421
commit d815bc3c5b
1 changed files with 1 additions and 4 deletions

View File

@ -525,10 +525,7 @@ function switchvault()
window.localStorage.setItem("vault", vault); window.localStorage.setItem("vault", vault);
init(); init();
if (vault == "sandbox") datafile.hidden = vault != "sandbox";
{
datafile.hidden = false;
}
}); });
} }