260826_03_ENH: notihub 수정으로 인한 후속 조치

This commit is contained in:
2026-08-26 13:55:11 +09:00
parent c324617879
commit fbb61780ff

View File

@@ -22,7 +22,7 @@ import { escapeHtml, substituteVariables } from '@/lib/variableSubstitution'
import type { DialogId } from '@/store/jotai/dialog'
import type { MessageSendChannel, PhoneVerificationSendData, TemplateEmailWithAttachments } from '@/types/message'
import TemplateAttachmentList from '@/components/message-template/TemplateAttachmentList'
import { TEMPLATE_PURPOSE } from '@/const/messageTemplateConst'
import {PHONE_VERIFICATION_PREVIEW_SUFFIX, TEMPLATE_PURPOSE} from '@/const/messageTemplateConst'
const titleMap: Record<MessageSendChannel, string> = {
email: '메일 발송',
@@ -239,6 +239,11 @@ const SingleMessageSendDialog = ({
value={substituteVariables((selectedTemplate as TemplateSms).tmplatBody ?? '', previewValues)}
onChange={() => {}}
isSmsReadOnly
smsPreviewSuffix={
selectedTemplate.tmplatPurpose === TEMPLATE_PURPOSE.PHONE_VERIFICATION
? PHONE_VERIFICATION_PREVIEW_SUFFIX
: undefined
}
placeholder="문자 내용을 입력해 주세요"
className="max-w-80 mx-0"
debounceMs={600}