From fdf04d86a4a24d0f8f64e98dd4af6fea5b321ac6 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:21:18 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B9=80=E0=B8=81=E0=B9=89=E0=B8=8A?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B9=80?= =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/00_support/store/Main.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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,