Started implementing user settings -> security -> password management
This commit is contained in:
@@ -147,7 +147,7 @@ export class IndexedDB {
|
||||
delete(storeName: string, key: string): Promise<void> {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (this.db) {
|
||||
const transaction = this.db.transaction([storeName], "readonly");
|
||||
const transaction = this.db.transaction([storeName], "readwrite");
|
||||
const store = transaction.objectStore(storeName);
|
||||
const request = store.delete(key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user