diff --git a/src/components/Card/FlowCard.tsx b/src/components/Card/FlowCard.tsx index 72a4f2a..7671428 100644 --- a/src/components/Card/FlowCard.tsx +++ b/src/components/Card/FlowCard.tsx @@ -1,13 +1,16 @@ -import { DeleteIcon } from '@chakra-ui/icons'; +import { CheckIcon, CloseIcon, DeleteIcon } from '@chakra-ui/icons'; import { Avatar, Badge, + Box, Button, Card, CardBody, CardFooter, + Flex, Heading, HStack, + IconButton, Image, LinkBox, LinkOverlay, @@ -46,22 +49,24 @@ const FlowCard = ({ flow, px, py, canDelete, setSelected }: FlowCardProps) => { {canDelete && ( - + <> + + )} {flow.title} {flow.tags && @@ -89,6 +94,17 @@ const FlowCard = ({ flow, px, py, canDelete, setSelected }: FlowCardProps) => { )} + + {flow.publish ? 'Published' : 'Not published'}: + + {flow.publish ? : } + + diff --git a/src/components/Modals/CreateAILPModal.tsx b/src/components/Modals/CreateAILPModal.tsx index 0740653..413294f 100644 --- a/src/components/Modals/CreateAILPModal.tsx +++ b/src/components/Modals/CreateAILPModal.tsx @@ -509,7 +509,7 @@ const CreateAILPModal = ({ isOpen, onClose, action }: ModaTemplateProps) => {