diff --git a/apps/web/core/components/project/create/common-attributes.tsx b/apps/web/core/components/project/create/common-attributes.tsx index dfc27159a8..c0f4320253 100644 --- a/apps/web/core/components/project/create/common-attributes.tsx +++ b/apps/web/core/components/project/create/common-attributes.tsx @@ -1,7 +1,7 @@ import type { ChangeEvent } from "react"; import type { UseFormSetValue } from "react-hook-form"; import { Controller, useFormContext } from "react-hook-form"; -import { Info } from "lucide-react"; +import { InfoIcon } from "@plane/propel/icons"; // plane imports import { ETabIndices } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; @@ -120,7 +120,7 @@ function ProjectCommonAttributes(props: Props) { className="text-13" position="right-start" > - + {errors?.identifier?.message} diff --git a/apps/web/core/components/project/create/header.tsx b/apps/web/core/components/project/create/header.tsx index 37f635cf9a..abbaf259bc 100644 --- a/apps/web/core/components/project/create/header.tsx +++ b/apps/web/core/components/project/create/header.tsx @@ -18,13 +18,21 @@ import { ProjectTemplateSelect } from "@/plane-web/components/projects/create/te type Props = { handleClose: () => void; isMobile?: boolean; - handleFormChange?: () => void; + handleFormOnChange?: () => void; isClosable?: boolean; handleTemplateSelect?: () => void; + showActionButtons?: boolean; }; function ProjectCreateHeader(props: Props) { - const { handleClose, isMobile = false, handleFormChange, isClosable = true, handleTemplateSelect } = props; + const { + handleClose, + isMobile = false, + handleFormOnChange, + isClosable = true, + handleTemplateSelect, + showActionButtons = true, + } = props; const { watch, control, setValue } = useFormContext(); const { t } = useTranslation(); // derived values @@ -40,9 +48,11 @@ function ProjectCreateHeader(props: Props) { alt={t("project_cover_image_alt")} className="absolute left-0 top-0 h-full w-full rounded-lg" /> -
- -
+ {showActionButtons && ( +
+ +
+ )} {isClosable && (