diff --git a/cmd/handlers.go b/cmd/handlers.go index ccbb4448..10dffcfd 100644 --- a/cmd/handlers.go +++ b/cmd/handlers.go @@ -21,7 +21,6 @@ func initHandlers(g *fastglue.Fastglue, hub *ws.Hub) { g.GET("/api/conversations/all", auth(handleGetAllConversations, "conversation:all")) g.GET("/api/conversations/team", auth(handleGetTeamConversations, "conversation:team")) g.GET("/api/conversations/assigned", auth(handleGetAssignedConversations, "conversation:assigned")) - g.GET("/api/conversations/{uuid}", auth(handleGetConversation)) g.GET("/api/conversations/{uuid}/participants", auth(handleGetConversationParticipants)) g.PUT("/api/conversations/{uuid}/last-seen", auth(handleUpdateAssigneeLastSeen)) @@ -30,8 +29,6 @@ func initHandlers(g *fastglue.Fastglue, hub *ws.Hub) { g.PUT("/api/conversations/{uuid}/priority", auth(handleUpdatePriority, "conversation:edit_priority")) g.PUT("/api/conversations/{uuid}/status", auth(handleUpdateStatus, "conversation:edit_status")) g.POST("/api/conversations/{uuid}/tags", auth(handleAddConversationTags)) - - // Message. g.GET("/api/conversations/{uuid}/messages", auth(handleGetMessages)) g.GET("/api/message/{uuid}/retry", auth(handleRetryMessage)) g.GET("/api/message/{uuid}", auth(handleGetMessage)) diff --git a/frontend/src/components/conversation/ConversationSideBar.vue b/frontend/src/components/conversation/ConversationSideBar.vue index bfbd75cd..5503d4ba 100644 --- a/frontend/src/components/conversation/ConversationSideBar.vue +++ b/frontend/src/components/conversation/ConversationSideBar.vue @@ -41,7 +41,6 @@ ? (() => { console.log(' ->', conversationStore.conversation.data.assigned_user_id , 'agents ', agents) const agent = agents.find(agent => agent.id === conversationStore.conversation.data.assigned_user_id); - console.log('Foud agent ', agent) return agent ? `${agent.first_name} ${agent.last_name}` : "Select agent..."; })() : "Select agent..." diff --git a/frontend/src/components/message/MessageList.vue b/frontend/src/components/message/MessageList.vue index 00c4934e..2462f372 100644 --- a/frontend/src/components/message/MessageList.vue +++ b/frontend/src/components/message/MessageList.vue @@ -1,9 +1,13 @@