Commit 08b84dc6 authored by Faisal Hamdi's avatar Faisal Hamdi

Merge branch 'faisal' into 'master'

issue dashboard cat

See merge request !1240
parents ec5803c1 f251a312
......@@ -41,7 +41,7 @@ export default class DashboardCAT extends Component {
this.props.selectIndex('CAT Dashboard')
let dataStorageCAT = localStorage.getItem(Constant.DATACAT)
console.log(dataStorageCAT)
if (dataStorageCAT != 'datacat') {
if (dataStorageCAT != 'datacat' && dataStorageCAT != null) {
this.setState({selectedKPI: JSON.parse(dataStorageCAT).listKPI})
console.log(dataStorageCAT)
}
......
Markdown is supported
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