mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -11,7 +11,7 @@ export const openDB = _open('hydro', 1, {
|
||||
for (const key of keys) {
|
||||
if (key.endsWith('#objective')) {
|
||||
const value = localStorage.getItem(key);
|
||||
if (value) solutionStore.put({ id: key, value: JSON.parse(value) });
|
||||
if (value) solutionStore.put({ id: key, value });
|
||||
localStorage.removeItem(key);
|
||||
}
|
||||
if (key.startsWith('scoreboard-star/')) localStorage.removeItem(key);
|
||||
|
||||
Reference in new issue
Block a user