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 ( return (
<> <>
<div className="flex w-full gap-4 pb-5"> <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 && ( {allFlows?.length > 0 && (
<HeaderComponent <HeaderComponent
handleDelete={() => handleSelectOptionsChange("delete")} handleDelete={() => handleSelectOptionsChange("delete")}

View file

@ -31,7 +31,7 @@ const HeaderComponent = ({
return ( 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"> <div className="flex items-center justify-self-start">
<Button <Button
variant="none" variant="none"
@ -47,7 +47,7 @@ const HeaderComponent = ({
</div> </div>
</Button> </Button>
</div> </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> <div>
<ShadTooltip <ShadTooltip
content={ content={

View file

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