From 70186acf0f4eb77921b8f43945a756d5dfb07fae Mon Sep 17 00:00:00 2001 From: enggar_ganteng Date: Sat, 5 Jan 2019 23:07:59 +0700 Subject: [PATCH] cart icon hidden if url no sho --- src/common/pages/App/index.js | 43 ++++------------------------------- 1 file changed, 5 insertions(+), 38 deletions(-) diff --git a/src/common/pages/App/index.js b/src/common/pages/App/index.js index 9f6bf6b..16e4369 100644 --- a/src/common/pages/App/index.js +++ b/src/common/pages/App/index.js @@ -457,52 +457,17 @@ export default class App extends React.Component { - this.notificationStore.readAll()} iconButtonElement={
- {userData.role === 'admin' ? ( -
- {this.notificationStore.unread_notif === 0 ? - : - - - - - - } -
- ) : ( -
- {this.notificationStore.unread_notif === 0 ? - - - : - - - - - - } -
- )} - +
} > @@ -542,6 +507,8 @@ export default class App extends React.Component {
+ ) : (
)} +