diff --git a/app/client/src/components/ExperimentInfo/index.tsx b/app/client/src/components/ExperimentInfo/index.tsx index 7df215ad..83f2f2c7 100644 --- a/app/client/src/components/ExperimentInfo/index.tsx +++ b/app/client/src/components/ExperimentInfo/index.tsx @@ -19,7 +19,6 @@ export function ExperimentInfo(props: ExpInfoProps) {
- {videoURL && } ); } diff --git a/app/client/src/components/UsefulLinks/index.tsx b/app/client/src/components/UsefulLinks/index.tsx index f4d5c980..37476f34 100644 --- a/app/client/src/components/UsefulLinks/index.tsx +++ b/app/client/src/components/UsefulLinks/index.tsx @@ -120,9 +120,12 @@ export function UsefulLinks(props: UsefulLinks) { } return (
- {createLinks("Useful Links", props.links)} - {createMaintainers(props.maintainers)} + {props.links.length > 0 && createLinks("Useful Links", props.links)} + {props.maintainers.length > 0 && + createMaintainers(props.maintainers)} {props.platforms && + props.platforms.length > 0 && + props.platforms && createPlatformData("Platforms", props.platforms)} {props.maturity && createStaticData("Maturity", [props.maturity])}
diff --git a/app/client/src/pages/ExperimentPage/index.tsx b/app/client/src/pages/ExperimentPage/index.tsx index ef139355..592dbb24 100644 --- a/app/client/src/pages/ExperimentPage/index.tsx +++ b/app/client/src/pages/ExperimentPage/index.tsx @@ -3,7 +3,6 @@ import { useSelector } from "react-redux"; import { BackButton, ExperimentInfo, - InstallChaos, UsefulLinks, ExperimentHeader, } from "../../components"; @@ -60,7 +59,6 @@ function ExperimentPage(props: any) { chartGroup.experiments.filter( (e) => e.metadataName === chartId )[0]; - React.useEffect(() => { window.scrollTo(0, 0); }, []); @@ -142,26 +140,6 @@ function ExperimentPage(props: any) { classes.horizontalLine } /> -
-
- PRE-REQUISITE: -
-
- - Install Litmus Operator - - : a tool for injecting Chaos - Experiments -
-
-
{/* Useful Links Section */} @@ -174,49 +152,6 @@ function ExperimentPage(props: any) { /> - {/* Install Chaos Section */} -
- - - {rbacUrl && ( - <> - - - - )} - {engineUrl && ( - <> - - " - } - /> - - )} -
diff --git a/app/client/src/redux/reducers/charts.ts b/app/client/src/redux/reducers/charts.ts index 1e6bd785..c60687a8 100644 --- a/app/client/src/redux/reducers/charts.ts +++ b/app/client/src/redux/reducers/charts.ts @@ -47,7 +47,7 @@ export const chartData = createReducer(initialState, { links: spec.Links ? spec.Links.map((l: any) => ({ name: l.Name, - url: l.Url, + url: l.URL, })) : [], chaosExpCRDLink: spec.ChaosExpCRDLink, @@ -82,7 +82,7 @@ export const chartData = createReducer(initialState, { links: spec.Links ? spec.Links.map((l: any) => ({ name: l.Name, - url: l.Url, + url: l.URL, })) : [], chaosExpCRDLink: spec.ChaosExpCRDLink,