diff --git a/src/common/pages/App/index.js b/src/common/pages/App/index.js
index 3548395..eaca535 100644
--- a/src/common/pages/App/index.js
+++ b/src/common/pages/App/index.js
@@ -73,6 +73,7 @@ import CartIcon from '@material-ui/icons/ShoppingCart';
import NotificationsIcon from '@material-ui/icons/Notifications';
import MoreIcon from '@material-ui/icons/MoreVert';
import CancelIcon from '@material-ui/icons/Cancel';
+import ListIcon from '@material-ui/icons/FormatListBulleted';
import { styles } from './styles';
import Drawer from '@material-ui/core/Drawer';
@@ -237,26 +238,26 @@ class App extends React.Component {
}
willLogout() {
- // Modal.confirm({
- // title: 'Log out the system?',
- // content: 'Are sure sure you want to log out the system?',
- // okText: 'Confirm',
- // cancelText: 'Cancel',
- // visible: this.state.visible,
- // zIndex: 3000,
- // onOk: () => {
- // this.authStore.logout();
- // this.setState({
- // visible: false,
- // redirect: true
- // });
- // },
- // onCancel: () => {
- // this.setState({
- // visible: false,
- // });
- // }
- // });
+ Modal.confirm({
+ title: 'Log out the system?',
+ content: 'Are sure sure you want to log out the system?',
+ okText: 'Confirm',
+ cancelText: 'Cancel',
+ visible: this.state.visible,
+ zIndex: 3000,
+ onOk: () => {
+ this.authStore.logout();
+ this.setState({
+ visible: false,
+ redirect: true
+ });
+ },
+ onCancel: () => {
+ this.setState({
+ visible: false,
+ });
+ }
+ });
}
openCreateProjectDialog() {
@@ -404,9 +405,12 @@ class App extends React.Component {
-
+ .bind(this, '/app/transaction')} to={LINKS.TRANSACTION}>
+
+ {/* */}
+
+ {/* */}
);
@@ -420,14 +424,14 @@ class App extends React.Component {
>
{window.location.pathname.split("/")[2] == "shop" ? (
- ) : "" }
+
+
+
+
+
+
Cart
+
+ ) : ""}