mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 03:31:27 +00:00
fix: lowercase and remove truncate for button
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ export const OrgDeleteSection = () => {
|
||||
onClick={() => handlePopUpOpen("deleteOrg")}
|
||||
isDisabled={Boolean(membership && membership.role !== "admin")}
|
||||
>
|
||||
<p className="max-w-[180px] truncate">Delete {currentOrg?.name}</p>
|
||||
{`Delete ${currentOrg?.name}`}
|
||||
</Button>
|
||||
<DeleteActionModal
|
||||
isOpen={popUp.deleteOrg.isOpen}
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ const formSchema = yup.object({
|
||||
.string()
|
||||
.required()
|
||||
.label("Organization Name")
|
||||
.max(64, "Too long, Maximum length is 64 characters")
|
||||
.max(64, "Too long, maximum length is 64 characters")
|
||||
});
|
||||
|
||||
type FormData = yup.InferType<typeof formSchema>;
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import { useToggle } from "@app/hooks";
|
||||
import { useRenameWorkspace } from "@app/hooks/api";
|
||||
|
||||
const formSchema = yup.object({
|
||||
name: yup.string().required().label("Project Name").max(64, "Too long, Maximum length is 64 characters"),
|
||||
name: yup.string().required().label("Project Name").max(64, "Too long, maximum length is 64 characters"),
|
||||
});
|
||||
|
||||
type FormData = yup.InferType<typeof formSchema>;
|
||||
|
||||
Reference in New Issue
Block a user