From b5a51b4fceace211d10d6dd4accd5545e48824f1 Mon Sep 17 00:00:00 2001 From: Aijana Schumann Date: Fri, 4 Sep 2020 14:11:52 +0200 Subject: odlux bugfixes fix info, guiguttrough not working fix aria-labels placed wrong Issue-ID: CCSDK-2732 Signed-off-by: Aijana Schumann Change-Id: Ic2aafa796fd2471160fa269974aef7767dad6a5c --- sdnr/wt/odlux/framework/src/assets/version.json | 4 ++++ sdnr/wt/odlux/framework/src/components/material-ui/listItemLink.tsx | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 sdnr/wt/odlux/framework/src/assets/version.json (limited to 'sdnr/wt/odlux/framework/src') diff --git a/sdnr/wt/odlux/framework/src/assets/version.json b/sdnr/wt/odlux/framework/src/assets/version.json new file mode 100644 index 000000000..6311e1094 --- /dev/null +++ b/sdnr/wt/odlux/framework/src/assets/version.json @@ -0,0 +1,4 @@ +{ + "version":"68.d7886ce(20/09/04)", + "build":"2020-09-04T12:31:19Z" +} \ No newline at end of file diff --git a/sdnr/wt/odlux/framework/src/components/material-ui/listItemLink.tsx b/sdnr/wt/odlux/framework/src/components/material-ui/listItemLink.tsx index 23bad66ea..8c4b740a0 100644 --- a/sdnr/wt/odlux/framework/src/components/material-ui/listItemLink.tsx +++ b/sdnr/wt/odlux/framework/src/components/material-ui/listItemLink.tsx @@ -42,15 +42,16 @@ export const ListItemLink = withStyles(styles)((props: IListItemLinkProps) => { const { icon, primary: Primary, secondary: Secondary, classes, to, exact = false } = props; const renderLink = (itemProps: any): JSX.Element => (); + const ariaLabel = typeof Primary === 'string' ? "link-to-"+Primary.toLowerCase().replace(/\s/g, "-") : "link-to-"+Primary.displayName?.toLowerCase(); return ( <> - + { icon ? { icon } : null } { typeof Primary === 'string' - ? + ? : } -- cgit 1.2.3-korg