FIXIT modify error during moving items ...
The problem was the forEach and inside ad await... it doesn't WORK !
RESOLVE:
using normal FOR:
for (const myelem of myarray) {
await myfuncasync(...)
}
This commit is contained in:
@@ -253,9 +253,9 @@ namespace Actions {
|
||||
console.log('clearDataAfterLogout')
|
||||
|
||||
// Clear all data from the IndexedDB
|
||||
await allTables.forEach(table => {
|
||||
globalroutines(null, 'clearalldata', table, null)
|
||||
})
|
||||
for (const table of allTables){
|
||||
await globalroutines(null, 'clearalldata', table, null)
|
||||
}
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
// REMOVE ALL SUBSCRIPTION
|
||||
|
||||
Reference in New Issue
Block a user