fix things

This commit is contained in:
Hasta Ragil Saputra 2019-01-06 00:47:49 +07:00
parent 75e7d19339
commit d1cfcfddb6
4 changed files with 10 additions and 10 deletions

View File

@ -53,7 +53,7 @@
"feather-icons": "^4.7.3",
"feather-icons-react": "^0.2.0",
"file-loader": "^1.1.5",
"firebase": "^5.5.1",
"firebase": "^5.7.2",
"frappe-gantt": "0.3.0",
"froala-editor": "^2.8.4",
"fs-extra-promise": "^1.0.1",

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() {