fix things
This commit is contained in:
parent
75e7d19339
commit
d1cfcfddb6
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = () => {
|
||||
|
|
|
@ -45,7 +45,7 @@ export default class WithdrawDialogComponent extends React.Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.bankStore.getAll();
|
||||
// this.bankStore.getAll();
|
||||
}
|
||||
|
||||
get stepperContent() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user