This commit is contained in:
bobbydigitales
2023-11-11 20:44:58 -08:00
parent d5c2f1694e
commit 6cd5a04cc1
6 changed files with 87 additions and 29 deletions

View File

@@ -78,6 +78,9 @@ export async function addDataArray(userID: string, array: any[]): Promise<void>
const store = transaction.objectStore(storeName);
let count = 0;
array.reverse();
for (let data of array) {
const addRequest = store.add(data);
addRequest.onsuccess = (e: Event) => {