Fix storage upgrade alert condition
This commit is contained in:
@@ -227,7 +227,9 @@ export function App() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (oldVersion < 11) {
|
if (oldVersion < 11) {
|
||||||
alert("Start upgrading storage, just a sec... (Click OK to continue)");
|
if (oldVersion < 11 && oldVersion >= 1) {
|
||||||
|
alert("Start upgrading storage, just a sec... (Click OK to continue)");
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
transaction
|
transaction
|
||||||
.objectStore(STORAGE_NAME)
|
.objectStore(STORAGE_NAME)
|
||||||
|
|||||||
Reference in New Issue
Block a user