mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-19 07:53:54 +01:00
Curl import (#24)
This commit is contained in:
@@ -18,7 +18,7 @@ export function useImportData() {
|
||||
|
||||
const importData = async () => {
|
||||
const selected = await open({
|
||||
filters: [{ name: 'Export File', extensions: ['json', 'yaml'] }],
|
||||
filters: [{ name: 'Export File', extensions: ['json', 'yaml', 'sh', 'txt'] }],
|
||||
multiple: false,
|
||||
});
|
||||
if (selected == null) {
|
||||
|
||||
Reference in New Issue
Block a user