mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
Fix: Rename change -> secret
This commit is contained in:
@@ -47,8 +47,8 @@ export const SecretApprovalPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
<Tabs defaultValue={TabSection.SecretApprovalRequests}>
|
<Tabs defaultValue={TabSection.SecretApprovalRequests}>
|
||||||
<TabList>
|
<TabList>
|
||||||
<Tab value={TabSection.SecretApprovalRequests}>Change Requests</Tab>
|
<Tab value={TabSection.SecretApprovalRequests}>Secret Requests</Tab>
|
||||||
<Tab value={TabSection.SecretPolicies}>Change Request Policies</Tab>
|
<Tab value={TabSection.SecretPolicies}>Secret Policies</Tab>
|
||||||
<Divider />
|
<Divider />
|
||||||
<Tab value={TabSection.ResourceApprovalRequests}>Access Requests</Tab>
|
<Tab value={TabSection.ResourceApprovalRequests}>Access Requests</Tab>
|
||||||
<Tab value={TabSection.ResourcePolicies}>Access Request Policies</Tab>
|
<Tab value={TabSection.ResourcePolicies}>Access Request Policies</Tab>
|
||||||
|
|||||||
+2
-3
@@ -37,7 +37,6 @@ export const SecretApprovalRequestAction = ({
|
|||||||
workspaceId,
|
workspaceId,
|
||||||
canApprove
|
canApprove
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
|
|
||||||
const { mutateAsync: performSecretApprovalMerge, isLoading: isMerging } =
|
const { mutateAsync: performSecretApprovalMerge, isLoading: isMerging } =
|
||||||
usePerformSecretApprovalRequestMerge();
|
usePerformSecretApprovalRequestMerge();
|
||||||
|
|
||||||
@@ -136,7 +135,7 @@ export const SecretApprovalRequestAction = ({
|
|||||||
<div className="flex items-start space-x-4">
|
<div className="flex items-start space-x-4">
|
||||||
<FontAwesomeIcon icon={faCheck} className="pt-1 text-2xl text-primary" />
|
<FontAwesomeIcon icon={faCheck} className="pt-1 text-2xl text-primary" />
|
||||||
<span className="flex flex-col">
|
<span className="flex flex-col">
|
||||||
Change request merged
|
Secret approval merged
|
||||||
<span className="inline-block text-xs text-bunker-200">
|
<span className="inline-block text-xs text-bunker-200">
|
||||||
Merged by {statusChangeByEmail}
|
Merged by {statusChangeByEmail}
|
||||||
</span>
|
</span>
|
||||||
@@ -150,7 +149,7 @@ export const SecretApprovalRequestAction = ({
|
|||||||
<div className="flex items-start space-x-4">
|
<div className="flex items-start space-x-4">
|
||||||
<FontAwesomeIcon icon={faUserLock} className="pt-1 text-2xl text-primary" />
|
<FontAwesomeIcon icon={faUserLock} className="pt-1 text-2xl text-primary" />
|
||||||
<span className="flex flex-col">
|
<span className="flex flex-col">
|
||||||
Change request has been closed
|
Secret approval has been closed
|
||||||
<span className="inline-block text-xs text-bunker-200">
|
<span className="inline-block text-xs text-bunker-200">
|
||||||
Closed by {statusChangeByEmail}
|
Closed by {statusChangeByEmail}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user