bug fix 2
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
"title": "stream-capture",
|
"title": "stream-capture",
|
||||||
"width": 1200,
|
"width": 1300,
|
||||||
"height": 800
|
"height": 800
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -29,11 +29,9 @@ 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) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user