대시보드 뷰어에서 customTitle 표시 수정 - element.title 대신 element.customTitle || element.title 사용

This commit is contained in:
leeheejin 2025-10-16 14:12:48 +09:00
parent 6de288eba5
commit 521ac90df4
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ function ViewerElement({ element, data, isLoading, onRefresh }: ViewerElementPro
{/* 헤더 (showHeader가 true일 때만 표시) */}
{element.showHeader !== false && (
<div className="flex items-center justify-between border-b border-gray-200 bg-gray-50 px-4 py-3">
<h3 className="text-sm font-semibold text-gray-800">{element.title}</h3>
<h3 className="text-sm font-semibold text-gray-800">{element.customTitle || element.title}</h3>
{/* 새로고침 버튼 (호버 시에만 표시) */}
{isHovered && (