Skip to content

Commit

Permalink
Change Clean up modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasmatus committed Nov 15, 2023
1 parent 689a09c commit 03cf797
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/deploymentModals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const CleanUpModal = ({ os }) => {
isLoading={buttonLoading}
onClick={() => doCleanup()}
>
{_("Delete temporary files")}
{_("Clean up")}
</Button>,
<Button key="cleanup-cancel" variant="link" onClick={Dialogs.close}>
{_("Cancel")}
Expand All @@ -86,7 +86,7 @@ export const CleanUpModal = ({ os }) => {
return (
<Modal isOpen
id="cleanup-deployment-modal"
title={_("Clean up")}
title={_("Remove temporary files")}
position="top"
variant="small"
onClose={Dialogs.close}
Expand All @@ -99,8 +99,7 @@ export const CleanUpModal = ({ os }) => {
actionClose={<AlertActionCloseButton onClose={() => setError("")} />}
/>
}
<Text>{_("Remove cache and other temporary files")}</Text>
<Stack className="pf-v5-u-pt-md">
<Stack>
<Checkbox label={_("Temporary files")}
key="temporary-files"
id="temporary-files-checkbox"
Expand Down Expand Up @@ -177,6 +176,7 @@ export const ResetModal = ({ os }) => {
<Modal isOpen
id="reset-modal"
title={_("Reset")}
titleIconVariant="warning"
position="top"
variant="small"
onClose={Dialogs.close}
Expand Down

0 comments on commit 03cf797

Please sign in to comment.