wallet balance

This commit is contained in:
enggar_ganteng 2019-01-28 16:19:21 +07:00
parent 34e9d91d91
commit e7a841a6f1
2 changed files with 5 additions and 5 deletions

View File

@ -432,13 +432,13 @@ export default class App extends React.Component {
className={(this.state.selectedMenu === '/app/shop') ? "menuAkunItem active" : 'menuAkunItem'}><span className={(this.state.selectedMenu === '/app/shop') ? "menuAkunItem active" : 'menuAkunItem'}><span
className="menuAkun">Shop</span></MenuItem></Link> */} className="menuAkun">Shop</span></MenuItem></Link> */}
<Link onClick={this {/* <Link onClick={this
.changeRoute .changeRoute
.bind(this, '/app/vouchers')} .bind(this, '/app/vouchers')}
to={LINKS.VOUCHERS} to={LINKS.VOUCHERS}
><MenuItem ><MenuItem
className={(this.state.selectedMenu === '/app/vouchers') ? "menuAkunItem active" : 'menuAkunItem'}><span className={(this.state.selectedMenu === '/app/vouchers') ? "menuAkunItem active" : 'menuAkunItem'}><span
className="menuAkun">Vouchers</span></MenuItem></Link> className="menuAkun">Vouchers</span></MenuItem></Link> */}
{/* <Button className="toolbar-button-sysinfo hide-on-small-only" size="small" type="dashed" {/* <Button className="toolbar-button-sysinfo hide-on-small-only" size="small" type="dashed"
style={{marginRight: (window.innerWidth < 600) ? 2 : 10}} style={{marginRight: (window.innerWidth < 600) ? 2 : 10}}

View File

@ -119,7 +119,7 @@ export default class DashboardComponent extends React.Component {
<div className="row "> <div className="row ">
<div className="col s12 m12 l12 col-leftDashboard" style={{ marginBottom: 0 }}> <div className="col s12 m12 l12 col-leftDashboard" style={{ marginBottom: 0 }}>
<div className="row no-margin"> <div className="row no-margin">
{this.props.appstate.wallet.data.wallet == 0 ? ( {this.props.appstate.wallet.data.wallet ? (
<div className="col s12 m4 l4" style={{ marginBottom: 0 }}> <div className="col s12 m4 l4" style={{ marginBottom: 0 }}>
<Card className="cardLite cardDashboard"> <Card className="cardLite cardDashboard">
<h3 style={{ <h3 style={{
@ -141,7 +141,7 @@ export default class DashboardComponent extends React.Component {
</div> </div>
) : ''} ) : ''}
{this.props.appstate.wallet.data.wallet == 0 ? ( {this.props.appstate.wallet.data.wallet ? (
<div className="col s12 m4 l4" style={{ marginBottom: 0 }}> <div className="col s12 m4 l4" style={{ marginBottom: 0 }}>
<Card className="cardLite cardDashboard"> <Card className="cardLite cardDashboard">
<h3 style={{ <h3 style={{
@ -164,7 +164,7 @@ export default class DashboardComponent extends React.Component {
) : ''} ) : ''}
{this.props.appstate.wallet.data.wallet == 0 ? ( {this.props.appstate.wallet.data.wallet ? (
<div className="col s12 m4 l4" style={{ marginBottom: 0 }}> <div className="col s12 m4 l4" style={{ marginBottom: 0 }}>
<Card className="cardLite cardDashboard"> <Card className="cardLite cardDashboard">
<h3 style={{ <h3 style={{