diff --git a/src/App.vue b/src/App.vue
index 9c8e900..16ba146 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -117,6 +117,7 @@ export default {
voiceCall.webCalling().then(res => {
const {agent, token, sdkAppId, agentId, sdkURL} = res;
// console.log(res, '---res')
+ this.$store.commit('setAgent', agent)
if (agent){
let userId = agentId;
let sdkUrl = sdkURL;
diff --git a/src/pages/layout/components/LayoutHeader.vue b/src/pages/layout/components/LayoutHeader.vue
index ec0a0a1..888f5ce 100644
--- a/src/pages/layout/components/LayoutHeader.vue
+++ b/src/pages/layout/components/LayoutHeader.vue
@@ -22,7 +22,7 @@