File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
routes/chat/[agentId]/[conversationId] Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -245,3 +245,7 @@ button:focus {
245245 outline : none !important ;
246246 box-shadow : none !important ;
247247}
248+
249+ .clickable {
250+ cursor : pointer ;
251+ }
Original file line number Diff line number Diff line change 243243 background-color : var (--#{$prefix}light );
244244 text-align : right ;
245245 border-radius : 8px 8px 0px 8px ;
246- cursor : pointer ;
247246 }
248247
249248 & .last-chat {
Original file line number Diff line number Diff line change 9393 onMount (async () => {
9494 dialogs = await GetDialogs (params .conversationId );
9595 initPrevSentMessages (dialogs);
96- initContentLogView ();
96+ initLogView ();
9797
9898 signalr .onMessageReceivedFromClient = onMessageReceivedFromClient;
9999 signalr .onMessageReceivedFromCsr = onMessageReceivedFromCsr;
119119 sentMsgIdx = prevSentMsgs .length ;
120120 }
121121
122- function initContentLogView () {
122+ function initLogView () {
123123 isLite = $page .url .searchParams .get (' isLite' ) === ' true' ;
124124 isLoadContentLog = ! isLite;
125+ isLoadStateLog = ! isLite;
125126 }
126127
127128 /** @param {import('$types').ChatResponseModel[]} dialogs */
585586 < div class = " conversation-list" >
586587 {#if message .sender .id === currentUser .id }
587588 < div class = " msg-container" >
588- < div class = " ctext-wrap"
589+ < div
590+ class = " ctext-wrap"
591+ class: clickable= {! isLite}
589592 tabindex= " 0"
590593 aria- label= " user-msg-to-log"
591- role= " button "
594+ role= " link "
592595 on: keydown= {() => {}}
593596 on: click= {() => directToLog (message .message_id )}
594597 >
You can’t perform that action at this time.
0 commit comments