Skip to content
Snippets Groups Projects
Commit 2bb0fd04 authored by esikkala's avatar esikkala
Browse files

Fix result table column key

and MuiTypography class loading.
parent dd7c5bf4
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ const ResultTableHead = props => { ...@@ -35,6 +35,7 @@ const ResultTableHead = props => {
? ( ? (
<TableCell <TableCell
className={classes.headerCol} className={classes.headerCol}
key={column.id}
> >
{label} {label}
<Tooltip <Tooltip
......
...@@ -4,7 +4,7 @@ import intl from 'react-intl-universal' ...@@ -4,7 +4,7 @@ import intl from 'react-intl-universal'
import AppBar from '@material-ui/core/AppBar' import AppBar from '@material-ui/core/AppBar'
import Toolbar from '@material-ui/core/Toolbar' import Toolbar from '@material-ui/core/Toolbar'
import IconButton from '@material-ui/core/IconButton' import IconButton from '@material-ui/core/IconButton'
// import Typography from '@material-ui/core/Typography' import Typography from '@material-ui/core/Typography'
import MenuItem from '@material-ui/core/MenuItem' import MenuItem from '@material-ui/core/MenuItem'
import Menu from '@material-ui/core/Menu' import Menu from '@material-ui/core/Menu'
import { withStyles } from '@material-ui/core/styles' import { withStyles } from '@material-ui/core/styles'
...@@ -192,6 +192,9 @@ class TopBar extends React.Component { ...@@ -192,6 +192,9 @@ class TopBar extends React.Component {
const { classes, perspectives /* currentLocale, availableLocales */ } = this.props const { classes, perspectives /* currentLocale, availableLocales */ } = this.props
return ( return (
<div className={classes.root}> <div className={classes.root}>
{/* Add an empty Typography element to ensure that that the MuiTypography class is loaded for
any lower level components that use MuiTypography class only in translation files */}
<Typography />
<AppBar position='absolute'> <AppBar position='absolute'>
<Toolbar className={classes.toolbar}> <Toolbar className={classes.toolbar}>
<Button <Button
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment