Skip to content

Commit

Permalink
Removed statement that was unnessesary
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed Sep 22, 2020
1 parent dc38741 commit eedf359
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/live-chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@ export class LiveChat {
this.agent = response.users.find(user => user.type === "agent");
logger.debug("Agent info", this.agent);
if (!isEmptyObject(this.agent)) {
this.agent = user;
this.store.commit("AGENT_NAME", this.agent.name);
this.store.commit("AGENT_ID", this.agent.id);
this.store.commit("AGENT_AVATAR", this.agent.avatar);
Expand Down

0 comments on commit eedf359

Please sign in to comment.