fix: rename getCustomStatusConfig to getCustomStatusBadgeConfig in EnterpriseDetailPageProvider

This commit is contained in:
Firman Ramdhani
2026-07-16 11:27:15 +07:00
parent efc8cb44a5
commit 546bdfee49
2 changed files with 3 additions and 51 deletions
@@ -29,7 +29,7 @@ export function EnterpriseDetailPageProvider<E extends BaseEntity = BaseEntity>(
showHighlightDataOnBreadcrumbs = true,
highlightDataKey = 'code',
statusKey = 'status',
getCustomStatusConfig,
getCustomStatusBadgeConfig,
onDetailLoaded,
customPageActions,
@@ -645,7 +645,7 @@ export function EnterpriseDetailPageProvider<E extends BaseEntity = BaseEntity>(
detailData ? (
<StatusBadge
status={detailData[statusKey as keyof typeof detailData] as string}
getCustomConfig={getCustomStatusConfig}
getCustomConfig={getCustomStatusBadgeConfig}
/>
) : undefined
}