Fix: Rename change -> secret

This commit is contained in:
Daniel Hougaard
2024-05-07 17:30:35 +02:00
parent 7e765681cb
commit da5278f6bf
2 changed files with 4 additions and 5 deletions
@@ -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>
@@ -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>