diff --git a/ui/src/utils/twowaySyncUtils.ts b/ui/src/utils/twowaySyncUtils.ts index 5a03d2e..21e3155 100644 --- a/ui/src/utils/twowaySyncUtils.ts +++ b/ui/src/utils/twowaySyncUtils.ts @@ -14,13 +14,7 @@ export async function scanMyWorkflowsDir( parentFolderID: string | null, sortBy?: ESortTypes, ): Promise<(Workflow | Folder)[]> { - const myWorkflowsDir = await userSettingsTable?.getSetting("myWorkflowsDir"); - if (myWorkflowsDir == null || myWorkflowsDir === "") { - alert("No Workspace saving directory found, please go to Settings."); - return []; - } const parentRelPath = sanitizeRelPath(parentFolderID ?? ""); - console.log("scanMyWorkflowsDir", parentRelPath); // folderID is the relative path of the folder in two way sync mode const fileList = await scanLocalFiles(parentRelPath);