2019-01-06 01:40:07 +07:00
4 changed files with 10 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ export default class CardAgent extends React.Component {
}
componentDidMount() {
this.transactionStore.getAmount();
// this.transactionStore.getAmount();
}
componentWillUnmount() {
@@ -97,7 +97,7 @@ export default class CardAgent extends React.Component {
return (
<div>
<div className="col s12 m4 l4 row">
<Card style={{backgroundColor: '#2196f3', minHeight: 245}} className="cardLite">
<CardHeader

View File

@@ -74,12 +74,12 @@ export default class BankComponent extends React.Component {
componentDidMount() {
if(this.userData.role == 'store') {
this.userBanks.getAllBanks();
}
else if(this.userData.role == 'administrator') {
this.userBanks.getAllBanksAdmin(this.props.id);
}
// if(this.userData.role == 'store') {
// this.userBanks.getAllBanks();
// }
// else if(this.userData.role == 'administrator') {
// this.userBanks.getAllBanksAdmin(this.props.id);
// }
}
handleOpenDialog = () => {

View File

@@ -45,7 +45,7 @@ export default class WithdrawDialogComponent extends React.Component {
}
componentDidMount() {
this.bankStore.getAll();
// this.bankStore.getAll();
}
get stepperContent() {