fix ui
This commit is contained in:
@@ -53,7 +53,11 @@ const ModalUser = (props) => {
|
||||
|
||||
|
||||
const getLevel = async () => {
|
||||
let result = await axios.get(`${HOST}/api/levels/company/1`)
|
||||
const headers = {
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': Store.getState().isLogin.access_token,
|
||||
}
|
||||
let result = await axios.get(`${HOST}/api/levels/company/1`, {headers} )
|
||||
if (result.data.status === 10000) {
|
||||
var listOptions = []
|
||||
for (let i = 0; i < result.data.data.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user