Tweak some headers with the new names (#1433)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2022-01-21 15:57:43 -08:00
committed by GitHub
parent a778a1eaf9
commit 9b9c54f775
4 changed files with 6 additions and 11 deletions

View File

@@ -68,7 +68,7 @@ const Dashboard = ({ classes, displayErrorMessage }: IDashboardSimple) => {
return (
<Fragment>
<PageHeader label="Dashboard" />
<PageHeader label="Metrics" />
{loading ? (
<Grid container>
<Grid item xs={12} className={classes.container}>

View File

@@ -255,7 +255,7 @@ const Heal = ({ classes, distributedSetup }: IHeal) => {
return (
<Fragment>
<PageHeader label="Heal" />
<PageHeader label="Drives" />
<PageLayout>
{!distributedSetup ? (
<DistributedOnly entity={"Heal"} iconComponent={<HealIcon />} />

View File

@@ -45,10 +45,8 @@ import { Button, Grid } from "@mui/material";
import PageHeader from "../Common/PageHeader/PageHeader";
import { setServerDiagStat, setSnackBarMessage } from "../../../actions";
import CircularProgress from "@mui/material/CircularProgress";
import BackLink from "../../../common/BackLink";
import TestWrapper from "../Common/TestWrapper/TestWrapper";
import PageLayout from "../Common/Layout/PageLayout";
import { IAM_PAGES } from "../../../common/SecureComponent/permissions";
const styles = (theme: Theme) =>
createStyles({
@@ -234,8 +232,6 @@ const HealthInfo = ({
return (
<Fragment>
<PageHeader label="Diagnostic" />
<BackLink to={IAM_PAGES.TOOLS} label="Return to Support" />
<PageLayout>
<Grid item xs={12} className={classes.boxy}>
<TestWrapper title={title} advancedVisible={false}>

View File

@@ -37,12 +37,10 @@ import { AppState } from "../../../store";
import { SpeedtestIcon } from "../../../icons";
import {
CONSOLE_UI_RESOURCE,
IAM_PAGES,
IAM_SCOPES,
} from "../../../common/SecureComponent/permissions";
import STResults from "./STResults";
import InputBoxWrapper from "../Common/FormComponents/InputBoxWrapper/InputBoxWrapper";
import BackLink from "../../../common/BackLink";
import ProgressBarWrapper from "../Common/ProgressBarWrapper/ProgressBarWrapper";
import InputUnitMenu from "../Common/FormComponents/InputUnitMenu/InputUnitMenu";
import CheckboxWrapper from "../Common/FormComponents/CheckboxWrapper/CheckboxWrapper";
@@ -200,8 +198,7 @@ const Speedtest = ({ classes, distributedSetup }: ISpeedtest) => {
return (
<Fragment>
<PageHeader label="Speedtest" />
<BackLink to={IAM_PAGES.TOOLS} label="Return to Support" />
<PageHeader label="Performance" />
<PageLayout>
{!distributedSetup ? (
<DistributedOnly
@@ -245,7 +242,9 @@ const Speedtest = ({ classes, distributedSetup }: ISpeedtest) => {
"Speedtest in progress..."
) : (
<Fragment>
{currStatus && !start ? "Done!" : "Start a new test"}
{currStatus && !start
? "Done!"
: "Start a new speed test"}
</Fragment>
)}
&nbsp;&nbsp;&nbsp;{start && <CircularProgress size={15} />}