Removed Upload Flows from page

This commit is contained in:
Lucas Oliveira 2024-06-06 17:42:53 -03:00
commit e1846167df
3 changed files with 4 additions and 14 deletions

View file

@ -270,18 +270,6 @@ export default function ComponentsComponent({
return (
<>
<div className="flex w-full gap-4 pb-5">
<Button
variant="outline"
size="sm"
onClick={handleImport}
className="flex-shrink-0 text-sm"
>
<ForwardedIconComponent
name="FileUp"
className="h-5 w-5 text-primary"
/>
Upload Flow
</Button>
{allFlows?.length > 0 && (
<HeaderComponent
handleDelete={() => handleSelectOptionsChange("delete")}

View file

@ -31,7 +31,7 @@ const HeaderComponent = ({
return (
<>
<div className="grid w-full grid-cols-3">
<div className="flex w-full items-center justify-between gap-4">
<div className="flex items-center justify-self-start">
<Button
variant="none"
@ -47,7 +47,7 @@ const HeaderComponent = ({
</div>
</Button>
</div>
<div className="col-span-2 flex grid-cols-1 items-center gap-2 justify-self-end">
<div className="flex items-center gap-2">
<div>
<ShadTooltip
content={

View file

@ -56,6 +56,7 @@ import {
FolderIcon,
FolderPlus,
FolderPlusIcon,
FolderUp,
FormInput,
Forward,
Gift,
@ -431,6 +432,7 @@ export const nodeIconsLucide: iconsType = {
ChevronLeft,
SlidersHorizontal,
Palette,
FolderUp,
Blocks,
ChevronDown,
ArrowLeft,