diff --git a/src/components/Directory/CardViewDirectory.jsx b/src/components/Directory/CardViewDirectory.jsx index a7fe7d32..1dc16cec 100644 --- a/src/components/Directory/CardViewDirectory.jsx +++ b/src/components/Directory/CardViewDirectory.jsx @@ -30,7 +30,7 @@ const CardViewDirectory = ({ (contact?.name || "").trim().split(" ")[1]?.charAt(0) || "" } />{" "} -

{contact.name}

+ {contact.name}
@@ -55,20 +55,19 @@ const CardViewDirectory = ({ setSelectedContact(contact); setIsOpenModal(true); }} - > - - - Modify + + + Modify
  • IsDeleted(contact.id)} > - - Delete + + Delete
  • @@ -80,7 +79,7 @@ const CardViewDirectory = ({
  • -
  • +
  • {contact.organization}
  • @@ -96,52 +95,54 @@ const CardViewDirectory = ({ >
    {contact.contactEmails[0] && ( -
    ); diff --git a/src/components/Directory/DirectorySchema.js b/src/components/Directory/DirectorySchema.js index 3d30292f..1b61c4ac 100644 --- a/src/components/Directory/DirectorySchema.js +++ b/src/components/Directory/DirectorySchema.js @@ -6,7 +6,7 @@ export const ContactSchema = z contactCategoryId: z.string().nullable().optional(), address: z.string().optional(), description: z.string().min(1, { message: "Description is required" }), - projectIds: z.array(z.string()).min(1, "Project is required"), + projectIds: z.array(z.string()), // min(1, "Project is required") contactEmails: z .array( z.object({ diff --git a/src/components/Directory/ManageBucket.jsx b/src/components/Directory/ManageBucket.jsx index d3a5d5c3..ae7551e3 100644 --- a/src/components/Directory/ManageBucket.jsx +++ b/src/components/Directory/ManageBucket.jsx @@ -89,7 +89,7 @@ const ManageBucket = () => return (
    -

    Manage Buckets

    +

    Manage Buckets

    >