bug fix 2

This commit is contained in:
Julian Freeman
2025-12-02 09:28:41 -04:00
parent c6d5f6679a
commit 9430c78eb7
2 changed files with 3 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
"windows": [ "windows": [
{ {
"title": "stream-capture", "title": "stream-capture",
"width": 1200, "width": 1300,
"height": 800 "height": 800
} }
], ],

View File

@@ -29,10 +29,8 @@ async function loadHistory() {
} }
async function clearHistory() { async function clearHistory() {
if(confirm('Clear all download history?')) { await invoke('clear_history')
await invoke('clear_history') history.value = []
history.value = []
}
} }
async function deleteItem(id: string) { async function deleteItem(id: string) {