diff --git a/src/modules/00_support/store/Main.ts b/src/modules/00_support/store/Main.ts index 549465a41..b8436df57 100644 --- a/src/modules/00_support/store/Main.ts +++ b/src/modules/00_support/store/Main.ts @@ -33,7 +33,8 @@ export const useSupportStore = defineStore("supportServiceStore", () => { const currentPageIssue = ref(); const currentTotalIssue = ref(); const currentCategory = ref(); - const createdByUser = ref(""); + const createdByUserId = ref(""); + const createdByUserName = ref(""); const rowsCategory = ref(); @@ -77,8 +78,6 @@ export const useSupportStore = defineStore("supportServiceStore", () => { return v; }); } - - console.log(r); }); socket.on("read", (r) => { @@ -108,9 +107,6 @@ export const useSupportStore = defineStore("supportServiceStore", () => { function sendMessage(content: string, to: string) { socket.emit("message", { to, content }); - - console.log(socket); - scrollToEnd(); } @@ -313,7 +309,8 @@ export const useSupportStore = defineStore("supportServiceStore", () => { currentCategory, rowsCategory, userStatus, - createdByUser, + createdByUserId, + createdByUserName, fetchIssue, fetchMessage, fetchMessageStatus,