feat: add transmission client

feat: set defaultPath for any system
This commit is contained in:
MasutaYunikon committed 2026-04-07 19:04:26 +02:00
1 parent 5687aaa5d9
commit f304562f01
4 files changed
+161 -1

No files matched your search

+5 -1
View File
@@ -129,8 +129,12 @@ const form = ref({
autoImport : true,
})
const { data: systemInfo } = await useFetch('/api/system/info')
const picker = ref<{ open: boolean; field: 'completePath' | 'mediaPath'; currentPath: string }>({
open: false, field: 'completePath', currentPath: '/',
open: false,
field: 'completePath',
currentPath: systemInfo.value?.defaultPath ?? '/',
})
function openPicker(field: 'completePath' | 'mediaPath') {