File tree Expand file tree Collapse file tree
machines/eb-app-ui/home/ui/galaxy-dev/src/lib/components/pri/message Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 import { Toast } from " bootstrap" ;
44 import { actionById } from " $lib/api" ;
55 import { delMessage , watchTextMessage } from " $lib/pri/intercom" ;
6+ import { toLocaleTime } from " $lib/common" ;
67 import type { IntercomMessage222 } from " $lib/types" ;
78
89 interface Props {
5758 {msg .contact_name || " unknown" }
5859 </span >
5960 <span class =" fs-6 me-auto mt-auto mb-1" ></span >
61+ <span class =" text-muted fw-bold me-3 mt-auto mb-1" >
62+ {toLocaleTime (msg .created_at ) || " " }
63+ </span >
6064 <button
6165 type =" button"
6266 class =" btn-close"
6872 <div class =" d-flex justify-content-left overflow-auto" >
6973 <p
7074 class =" d-inline-block card-text text-muted text-start w-auto mt-3"
71- style =" max-height: 200px; max-width: 90%; white-space: pre"
75+ style =" max-height: 200px; max-width: 90%; white-space: pre-wrap "
7276 >
7377 {msg .intercom_attr .message || " " }
7478 </p >
You can’t perform that action at this time.
0 commit comments