fixing
This commit is contained in:
parent
c7d672aeda
commit
113081b5ed
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,6 @@ const link = ref<string>("");
|
|||
*/
|
||||
onMounted(async () => {
|
||||
await fetchTotolNotificate();
|
||||
checkUser();
|
||||
if (keycloak.tokenParsed != null) {
|
||||
fullname.value = keycloak.tokenParsed.name;
|
||||
}
|
||||
|
|
@ -69,6 +68,8 @@ async function fetchTotolNotificate() {
|
|||
.get(config.API.msgNotificateTotal)
|
||||
.then((res) => {
|
||||
totalNoti.value = res.data.result;
|
||||
// check user in system
|
||||
checkUser();
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue