From e4b72c82eac0e7891e8077facf341f05a5629cd6 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Thu, 29 Jun 2023 05:19:49 +0900 Subject: [PATCH] [fix] opfs migration --- src/ts/storage/autoStorage.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ts/storage/autoStorage.ts b/src/ts/storage/autoStorage.ts index 4b251184..77761c5b 100644 --- a/src/ts/storage/autoStorage.ts +++ b/src/ts/storage/autoStorage.ts @@ -61,6 +61,10 @@ export class AutoStorage{ i += 1 } this.realStorage = opfs + alertStore.set({ + type: "none", + msg: "" + }) await forage.setItem("migrated", true) return }