Commit aa3c8621 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor fixes.

parent 7a69355c
......@@ -39,8 +39,6 @@ If you bookmark this page, you can save the definition represented by the highli
To learn more about the meta-info, visit the [meta-info homepage](https://metainfo.nomad-coe.eu/nomadmetainfo_public/archive.html).
`
const ITEM_HEIGHT = 48
const ITEM_PADDING_TOP = 8
const MenuProps = {
PaperProps: {
style: {
......
......@@ -100,9 +100,7 @@ class SearchContext extends React.Component {
this.setState({response: response || SearchContext.emptyResponse, usedMetric: usedMetric})
}).catch(error => {
this.setState({response: SearchContext.emptyResponse})
if (error.name !== 'NotAuthorized') {
raiseError(error)
}
raiseError(error)
})
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment