대시보드 뷰어에서 customTitle 표시 수정 - element.title 대신 element.customTitle || element.title 사용
This commit is contained in:
parent
6de288eba5
commit
521ac90df4
|
|
@ -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 && (
|
||||
|
|
|
|||
Loading…
Reference in New Issue