From 1a868116614dd9996c78e69941b537e9da19460b Mon Sep 17 00:00:00 2001 From: Aijana Schumann Date: Tue, 1 Feb 2022 13:18:42 +0100 Subject: Update ODLUX Updated to Material-ui 5, updated dashboard view, removed NetworkMap, LinkCalculator and LineOfSightApp, small bugfixes Issue-ID: CCSDK-3580 Signed-off-by: Aijana Schumann Change-Id: Id0fc148673e23a755cafc2be1c489248c38ff47c --- sdnr/wt/odlux/apps/helpApp/src/components/tocEntry.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'sdnr/wt/odlux/apps/helpApp/src/components/tocEntry.tsx') diff --git a/sdnr/wt/odlux/apps/helpApp/src/components/tocEntry.tsx b/sdnr/wt/odlux/apps/helpApp/src/components/tocEntry.tsx index fc7b8dff5..295b3caf9 100644 --- a/sdnr/wt/odlux/apps/helpApp/src/components/tocEntry.tsx +++ b/sdnr/wt/odlux/apps/helpApp/src/components/tocEntry.tsx @@ -18,7 +18,10 @@ import * as React from "react" import { TocTreeNode } from "../models/tocNode" -import { Typography, Link, makeStyles, Theme, createStyles } from "@material-ui/core" +import { Typography, Link, Theme } from "@mui/material"; + +import makeStyles from '@mui/styles/makeStyles'; +import createStyles from '@mui/styles/createStyles'; const useStyles = makeStyles((theme: Theme) => createStyles({ @@ -57,7 +60,7 @@ const TocEntry: React.FunctionComponent = (props) => { return (
{ areNodesEmpty ? - navigate(event, props.overviewUri)} className={classes.link}> {props.label} + navigate(event, props.overviewUri)} className={classes.link}> {props.label} : <> @@ -65,11 +68,11 @@ const TocEntry: React.FunctionComponent = (props) => {
- navigate(event, props.overviewUri)} className={classes.sublink}>Overview + navigate(event, props.overviewUri)} className={classes.sublink}>Overview {props.nodes !== undefined && props.nodes.map((item, index) => - navigate(event, item.uri)} className={classes.sublink}>{item.label} + navigate(event, item.uri)} className={classes.sublink}>{item.label} )}
-- cgit 1.2.3-korg