diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx')
-rw-r--r-- | sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx b/sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx index c4a531837..140935715 100644 --- a/sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx +++ b/sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx @@ -57,7 +57,7 @@ class HelpStatusComponent extends React.Component<HelpStatusComponentProps> { const { classes, history, toc, appId } = this.props; const rootNode = toc && toc.find(t => t.id === "sdnr"); const helpNode = appId - ? rootNode && rootNode.nodes && rootNode.nodes.find(n => n.id === appId || n.id === appId+"App") + ? rootNode && rootNode.nodes && rootNode.nodes.find(n => n.id === appId || n.id === appId + "App") : rootNode; return helpNode ? ( @@ -76,5 +76,5 @@ class HelpStatusComponent extends React.Component<HelpStatusComponentProps> { } -export const HelpStatus = withRouter(withStyles(styles)(connect(mapProps)(HelpStatusComponent))); +export const HelpStatus = withRouter(withStyles(styles)(connect(mapProps)(HelpStatusComponent) as any) as any); export default HelpStatus;
\ No newline at end of file |