Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev
This commit is contained in:
commit
921af848b7
4 changed files with 4 additions and 4 deletions
|
|
@ -753,7 +753,7 @@ export default function CodeTabsComponent({
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="mx-auto">
|
<div className="mx-auto max-h-48 overflow-auto custom-scroll">
|
||||||
<KeypairListComponent
|
<KeypairListComponent
|
||||||
disabled={false}
|
disabled={false}
|
||||||
editNode={true}
|
editNode={true}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ export default function KeypairListComponent({
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
value?.length > 1 && editNode ? "my-1" : "",
|
value?.length > 1 && editNode ? "my-1" : "",
|
||||||
"flex flex-col gap-3"
|
"flex flex-col gap-3 h-full"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{value?.map((obj, index) => {
|
{value?.map((obj, index) => {
|
||||||
|
|
|
||||||
|
|
@ -256,7 +256,7 @@ const EditNodeModal = forwardRef(
|
||||||
</div>
|
</div>
|
||||||
) : myData.current.node?.template[templateParam]
|
) : myData.current.node?.template[templateParam]
|
||||||
.type === "dict" ? (
|
.type === "dict" ? (
|
||||||
<div className="mt-2 w-full">
|
<div className="mt-2 w-full max-h-48 overflow-auto custom-scroll">
|
||||||
<KeypairListComponent
|
<KeypairListComponent
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
editNode={true}
|
editNode={true}
|
||||||
|
|
|
||||||
|
|
@ -325,7 +325,7 @@ export default function Page({
|
||||||
} else if (event.dataTransfer.types.some((types) => types === "Files")) {
|
} else if (event.dataTransfer.types.some((types) => types === "Files")) {
|
||||||
takeSnapshot();
|
takeSnapshot();
|
||||||
if (event.dataTransfer.files.item(0)!.type === "application/json") {
|
if (event.dataTransfer.files.item(0)!.type === "application/json") {
|
||||||
uploadFlow(true, event.dataTransfer.files.item(0)!);
|
uploadFlow(false, event.dataTransfer.files.item(0)!);
|
||||||
} else {
|
} else {
|
||||||
setErrorData({
|
setErrorData({
|
||||||
title: "Invalid file type",
|
title: "Invalid file type",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue