Skip to content

Commit 9b9c54f

Browse files
authored
Tweak some headers with the new names (#1433)
Signed-off-by: Daniel Valdivia <[email protected]>
1 parent a778a1e commit 9b9c54f

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

portal-ui/src/screens/Console/Dashboard/Dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const Dashboard = ({ classes, displayErrorMessage }: IDashboardSimple) => {
6868

6969
return (
7070
<Fragment>
71-
<PageHeader label="Dashboard" />
71+
<PageHeader label="Metrics" />
7272
{loading ? (
7373
<Grid container>
7474
<Grid item xs={12} className={classes.container}>

portal-ui/src/screens/Console/Heal/Heal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const Heal = ({ classes, distributedSetup }: IHeal) => {
255255

256256
return (
257257
<Fragment>
258-
<PageHeader label="Heal" />
258+
<PageHeader label="Drives" />
259259
<PageLayout>
260260
{!distributedSetup ? (
261261
<DistributedOnly entity={"Heal"} iconComponent={<HealIcon />} />

portal-ui/src/screens/Console/HealthInfo/HealthInfo.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ import { Button, Grid } from "@mui/material";
4545
import PageHeader from "../Common/PageHeader/PageHeader";
4646
import { setServerDiagStat, setSnackBarMessage } from "../../../actions";
4747
import CircularProgress from "@mui/material/CircularProgress";
48-
import BackLink from "../../../common/BackLink";
4948
import TestWrapper from "../Common/TestWrapper/TestWrapper";
5049
import PageLayout from "../Common/Layout/PageLayout";
51-
import { IAM_PAGES } from "../../../common/SecureComponent/permissions";
5250

5351
const styles = (theme: Theme) =>
5452
createStyles({
@@ -234,8 +232,6 @@ const HealthInfo = ({
234232
return (
235233
<Fragment>
236234
<PageHeader label="Diagnostic" />
237-
<BackLink to={IAM_PAGES.TOOLS} label="Return to Support" />
238-
239235
<PageLayout>
240236
<Grid item xs={12} className={classes.boxy}>
241237
<TestWrapper title={title} advancedVisible={false}>

portal-ui/src/screens/Console/Speedtest/Speedtest.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ import { AppState } from "../../../store";
3737
import { SpeedtestIcon } from "../../../icons";
3838
import {
3939
CONSOLE_UI_RESOURCE,
40-
IAM_PAGES,
4140
IAM_SCOPES,
4241
} from "../../../common/SecureComponent/permissions";
4342
import STResults from "./STResults";
4443
import InputBoxWrapper from "../Common/FormComponents/InputBoxWrapper/InputBoxWrapper";
45-
import BackLink from "../../../common/BackLink";
4644
import ProgressBarWrapper from "../Common/ProgressBarWrapper/ProgressBarWrapper";
4745
import InputUnitMenu from "../Common/FormComponents/InputUnitMenu/InputUnitMenu";
4846
import CheckboxWrapper from "../Common/FormComponents/CheckboxWrapper/CheckboxWrapper";
@@ -200,8 +198,7 @@ const Speedtest = ({ classes, distributedSetup }: ISpeedtest) => {
200198

201199
return (
202200
<Fragment>
203-
<PageHeader label="Speedtest" />
204-
<BackLink to={IAM_PAGES.TOOLS} label="Return to Support" />
201+
<PageHeader label="Performance" />
205202
<PageLayout>
206203
{!distributedSetup ? (
207204
<DistributedOnly
@@ -245,7 +242,9 @@ const Speedtest = ({ classes, distributedSetup }: ISpeedtest) => {
245242
"Speedtest in progress..."
246243
) : (
247244
<Fragment>
248-
{currStatus && !start ? "Done!" : "Start a new test"}
245+
{currStatus && !start
246+
? "Done!"
247+
: "Start a new speed test"}
249248
</Fragment>
250249
)}
251250
&nbsp;&nbsp;&nbsp;{start && <CircularProgress size={15} />}

0 commit comments

Comments
 (0)