add export flow on API modal and fix .env bug (#1896)
* feat(codeTabsComponent): add ExportModal component to enable exporting flow data in CodeTabsComponent * refactor(service.py): update VariableService to handle environment variables with whitespace by stripping the value before creating the variable * chore: Update package versions to 1.0.0a33 and 0.0.44 for 'langflow' and 'langflow-base' respectively * make lock
This commit is contained in:
parent
30ac9fa05a
commit
14ff98213d
6 changed files with 138 additions and 114 deletions
|
|
@ -43,6 +43,7 @@ import KeypairListComponent from "../keypairListComponent";
|
|||
import ShadTooltip from "../shadTooltipComponent";
|
||||
import { Label } from "../ui/label";
|
||||
import { Switch } from "../ui/switch";
|
||||
import ExportModal from "../../modals/exportModal";
|
||||
|
||||
export default function CodeTabsComponent({
|
||||
flow,
|
||||
|
|
@ -167,6 +168,12 @@ export default function CodeTabsComponent({
|
|||
Tweaks
|
||||
</Label>
|
||||
</div>
|
||||
<ExportModal>
|
||||
<div className="flex cursor-pointer items-center gap-1.5 rounded bg-none p-1 text-xs text-gray-500 dark:text-gray-300">
|
||||
<IconComponent name="FileDown" className="h-4 w-4" />
|
||||
Export Flow
|
||||
</div>
|
||||
</ExportModal>
|
||||
|
||||
{Number(activeTab) < 4 && (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue