feat: add transmission client
feat: set defaultPath for any system
This commit is contained in:
1 parent
5687aaa5d9
commit
f304562f01
4 files changed
+161
-1
No files matched your search
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user