mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-03-14 00:48:12 -04:00
🐛 Fix(custom): await RPC call for download directory selection
This commit is contained in:
parent
b843278b2c
commit
2079faa4c9
@ -321,7 +321,7 @@ async function initData() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function handleDownloadDirClick() {
|
async function handleDownloadDirClick() {
|
||||||
const result = triggerRPC<any>(IRPCActionType.MANAGE_SELECT_DOWNLOAD_FOLDER)
|
const result = await triggerRPC<any>(IRPCActionType.MANAGE_SELECT_DOWNLOAD_FOLDER)
|
||||||
if (result) {
|
if (result) {
|
||||||
form.value.downloadDir = result
|
form.value.downloadDir = result
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user