Skip to content

Commit

Permalink
persist deleted items in storage
Browse files Browse the repository at this point in the history
  • Loading branch information
ech0-de committed Aug 4, 2023
1 parent 0bfd04b commit 06acc3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ window.addEventListener('DOMContentLoaded', async () => {
button.addEventListener('click', () => {
item.remove()
delete queue[id];
localStorage.setItem('queue', JSON.stringify(queue));
input.focus();
});

Expand Down

0 comments on commit 06acc3c

Please sign in to comment.