diff --git a/dashboard/src/modules/components/EmptyPageComponent/NoMatchingPage.jsx b/dashboard/src/modules/components/EmptyPageComponent/NoMatchingPage.jsx index b706e014ce..a9ca7d3dd4 100644 --- a/dashboard/src/modules/components/EmptyPageComponent/NoMatchingPage.jsx +++ b/dashboard/src/modules/components/EmptyPageComponent/NoMatchingPage.jsx @@ -1,6 +1,7 @@ import "./index.less"; import { Button } from "@patternfly/react-core"; +import { HOME } from "utils/routeConstants"; import React from "react"; import logo from "assets/images/page_not_found.png"; import pbenchLogo from "assets/logo/pbench_logo.svg"; @@ -14,7 +15,7 @@ const NoMatchingPage = () => { pbench logo navigate("/")} + onClick={() => navigate("/" + HOME)} src={pbenchLogo} /> @@ -29,7 +30,7 @@ const NoMatchingPage = () => { /> - diff --git a/dashboard/src/modules/components/EmptyPageComponent/index.jsx b/dashboard/src/modules/components/EmptyPageComponent/index.jsx index c43e4ba947..5ecfd4f15a 100644 --- a/dashboard/src/modules/components/EmptyPageComponent/index.jsx +++ b/dashboard/src/modules/components/EmptyPageComponent/index.jsx @@ -8,6 +8,7 @@ import { } from "@patternfly/react-core"; import CubesIcon from "@patternfly/react-icons/dist/esm/icons/cubes-icon"; +import { HOME } from "utils/routeConstants"; import React from "react"; import { useNavigate } from "react-router-dom"; @@ -20,7 +21,7 @@ const EmptyPage = (props) => { {props.text} -