Merge branch 'master' into develop
# Conflicts: # package-lock.json # package.json # src/components/dialog/MessageHistoryDialog.tsx # src/components/list-contact/ListContactEventPanel.tsx
This commit is contained in:
@@ -11,6 +11,7 @@ import { useSendResultBySidQuery } from '@/query/message'
|
||||
import { useInternalInfoQuery } from '@/query/internal'
|
||||
import { clientEnv } from '@/lib/env.client'
|
||||
import { ChannelType, isSendCancelable } from '@kri/common/noti-hub'
|
||||
import { MESSAGE_TYPE_LABEL } from '@/const/messageTemplateConst'
|
||||
import type { SendResultInfo } from '@kri/common/noti-hub'
|
||||
import { useSendCancel } from '@/hooks/useSendCancel'
|
||||
import { formatKst } from '@kri/common'
|
||||
@@ -255,6 +256,7 @@ const SendResultTable = ({ isLoading, results }: { isLoading: boolean; results:
|
||||
<table className="w-full text-sm">
|
||||
<thead className="sticky top-0 bg-muted">
|
||||
<tr>
|
||||
<th className="p-2 text-left">유형</th>
|
||||
<th className="p-2 text-left">수신처</th>
|
||||
<th className="p-2 text-left">결과</th>
|
||||
<th className="p-2 text-left">발송일시</th>
|
||||
@@ -268,6 +270,7 @@ const SendResultTable = ({ isLoading, results }: { isLoading: boolean; results:
|
||||
const canCancel = isSendCancelable(item) && !!sendIdx
|
||||
return (
|
||||
<tr key={sendIdx ?? item.cmid} className="border-t">
|
||||
<td className="p-2">{MESSAGE_TYPE_LABEL[item.sendTy] ?? String(item.sendTy)}</td>
|
||||
<td className="p-2">{item.destEml || item.destTel || '-'}</td>
|
||||
<td className="p-2">{item.resultViewLabel || item.resultLabel || item.resultCode}</td>
|
||||
<td className="p-2">{formatKst(item.sendDt, 'dateHourMin')}</td>
|
||||
|
||||
Reference in New Issue
Block a user