Hacky Yaak import complete!

This commit is contained in:
Gregory Schier
2023-11-09 19:40:31 -08:00
parent b535722acd
commit 4b89b95738
15 changed files with 246 additions and 197 deletions

View File

@@ -14,12 +14,12 @@ export function useExportData() {
return useMutation({
mutationFn: async () => {
const rootDir = await save(saveArgs);
if (rootDir == null) {
const exportPath = await save(saveArgs);
if (exportPath == null) {
return;
}
await invoke('export_data', { workspaceId, rootDir });
await invoke('export_data', { workspaceId, exportPath });
},
});
}