Commit 0ee4456d authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'deni-dev(pc)' into 'master'

update dashboard

See merge request !179
parents beefeaea dd31a8d8
This diff is collapsed.
import React, { Component } from 'react' import React, { Component } from 'react'
import { Typography, MenuItem, TextField, AppBar, Paper, Tabs, Tab } from '@material-ui/core' import { Typography, MenuItem, TextField, AppBar, Paper, Tabs, Tab } from '@material-ui/core'
import ExceutiveScoreboard from './ExceutiveScoreboard' import ExceutiveScoreboard from './ExceutiveScoreboard'
import StrategiMap from './StrategiMap'
export default class DashboardCAT extends Component { export default class DashboardCAT extends Component {
constructor(props) { constructor(props) {
...@@ -36,7 +37,7 @@ export default class DashboardCAT extends Component { ...@@ -36,7 +37,7 @@ export default class DashboardCAT extends Component {
<div className={"main-color"} style={{ padding: 27 }}> <div className={"main-color"} style={{ padding: 27 }}>
<Typography style={{ fontSize: '16px', color: 'white' }}>ON CHANGE CAT</Typography> <Typography style={{ fontSize: '16px', color: 'white' }}>ON CHANGE CAT</Typography>
</div> </div>
<div className="padding-20px"> <div className="padding-20px" style={{ minWidth: 'max-content'}}>
<div style={{ marginTop: 20 }}> <div style={{ marginTop: 20 }}>
<TextField <TextField
style={{ width: 250, }} style={{ width: 250, }}
...@@ -82,7 +83,7 @@ export default class DashboardCAT extends Component { ...@@ -82,7 +83,7 @@ export default class DashboardCAT extends Component {
<ExceutiveScoreboard height={this.props.height} /> <ExceutiveScoreboard height={this.props.height} />
: :
this.state.tab === 1 ? this.state.tab === 1 ?
<span>Testt</span> <StrategiMap height={this.props.height} />
: :
<span>Test2</span> <span>Test2</span>
} }
......
This diff is collapsed.
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