@ -1,10 +1,10 @@
import React , { Component , Suspense , Divider } from 'react' ;
import React , { Component , Suspense , Divider } from 'react' ;
import { Redirect , Route , Switch } from 'react-router-dom' ;
import { Redirect , Route , Switch } from 'react-router-dom' ;
import * as router from 'react-router-dom' ;
import * as router from 'react-router-dom' ;
import { Badge , Container , UncontrolledDropdown , DropdownItem , DropdownMenu , DropdownToggle , Nav , NavItem } from 'reactstrap' ;
import { Button , Container , UncontrolledDropdown , DropdownItem , DropdownMenu , DropdownToggle , Nav , NavItem } from 'reactstrap' ;
import axios from 'axios' ;
import axios from 'axios' ;
import { ALERTUSER _SEARCH , ALERT _SEARCH , MENU _SEARCH , ROLEMENU _SEARCH , ALERTUSER _STATUSVIEW , ALERT _STATUSVIEW , MENU _MANAGEMENT , CONTROL _MONITORING _SEARCH } from '../../const/ApiConst' ;
import { ALERTUSER _SEARCH , ALERT _SEARCH , MENU _SEARCH , ROLEMENU _SEARCH , ALERTUSER _STATUSVIEW , ALERT _STATUSVIEW , MENU _MANAGEMENT , CONTROL _MONITORING _SEARCH } from '../../const/ApiConst' ;
import user _logo from '../../assets/img/avatars/user.png'
import { handleChangeLng } from "../../utils/LangUtils" ;
import {
import {
AppAside ,
AppAside ,
AppFooter ,
AppFooter ,
@ -250,7 +250,11 @@ class DefaultLayout extends Component {
< i className = "nav-icon fa fa-user-circle" > < / i > { l o c a l S t o r a g e . g e t I t e m ( ' u s e r _ n a m e ' ) }
< i className = "nav-icon fa fa-user-circle" > < / i > { l o c a l S t o r a g e . g e t I t e m ( ' u s e r _ n a m e ' ) }
< / D r o p d o w n T o g g l e >
< / D r o p d o w n T o g g l e >
< DropdownMenu right >
< DropdownMenu right >
< DropdownItem href = "#/settings" > < i class = "fa fa-cogs" > < / i > S e t t i n g s < / D r o p d o w n I t e m >
< DropdownItem >
< Button color = "primary" outline size = "sm" onClick = { ( ) => handleChangeLng ( "id" ) } > ID < / B u t t o n >
< Button color = "success" outline size = "sm" onClick = { ( ) => handleChangeLng ( "en" ) } > EN < / B u t t o n >
< / D r o p d o w n I t e m >
< DropdownItem href = "#/settings" > < i class = "fa fa-user" > < / i > P r o f i l e < / D r o p d o w n I t e m >
< DropdownItem onClick = { e => this . signOut ( e ) } > < i className = "fa fa-sign-out" > < / i > L o g o u t < / D r o p d o w n I t e m >
< DropdownItem onClick = { e => this . signOut ( e ) } > < i className = "fa fa-sign-out" > < / i > L o g o u t < / D r o p d o w n I t e m >
< / D r o p d o w n M e n u >
< / D r o p d o w n M e n u >
< / U n c o n t r o l l e d D r o p d o w n >
< / U n c o n t r o l l e d D r o p d o w n >