responsive name
This commit is contained in:
@@ -59,9 +59,7 @@ export default {
|
||||
await loginStore.getUserData();
|
||||
loginUserData.value = loginStore.userData;
|
||||
await acctMgmtStore.getUserDetail(loginUserData.value.username);
|
||||
if(currentViewingUserDetail.value.roles.find(role => role.code === 'admin')) {
|
||||
isAdmin.value = true;
|
||||
}
|
||||
isAdmin.value = acctMgmtStore.currentViewingUser.is_admin;
|
||||
};
|
||||
|
||||
const onBtnMyAccountClick = async() => {
|
||||
|
||||
Reference in New Issue
Block a user