Add lightbox retries and queue removal
This commit is contained in:
@@ -57,6 +57,12 @@ export async function clearDone() {
|
||||
});
|
||||
}
|
||||
|
||||
export async function remove(id: number) {
|
||||
await withStore('readwrite', (store) => {
|
||||
store.delete(id);
|
||||
});
|
||||
}
|
||||
|
||||
export async function processQueue() {
|
||||
if (processing) return; processing = true;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user