refactor: standardize theme colors, update UI components, and refine auth redirection logic
This commit is contained in:
@@ -678,7 +678,7 @@ export function EnterpriseDataTable<E extends BaseEntity>(props: EnterpriseDataT
|
||||
|
||||
field: 'status' as any,
|
||||
headerName: t('common:fields.status'),
|
||||
cellRenderer: ({ value }: any) => <StatusBadge status={value} size="sm" radius={'lg'} variant="filled" />,
|
||||
cellRenderer: ({ value }: any) => <StatusBadge status={value} size="md" variant="light" />,
|
||||
};
|
||||
|
||||
const prefixColumn: ColDef<E>[] = [
|
||||
|
||||
@@ -698,8 +698,7 @@ export function EnterpriseDetailPageProvider<E extends BaseEntity = BaseEntity>(
|
||||
badges={
|
||||
detailData ? (
|
||||
<StatusBadge
|
||||
radius={'lg'}
|
||||
variant="filled"
|
||||
variant="light"
|
||||
status={detailData[statusKey as keyof typeof detailData] as string}
|
||||
getCustomConfig={getCustomStatusBadgeConfig}
|
||||
/>
|
||||
|
||||
@@ -534,8 +534,7 @@ export function EnterpriseFormPageProvider<E extends BaseEntity = BaseEntity>(pr
|
||||
badges={
|
||||
detailData && formPageType === 'EDIT' ? (
|
||||
<StatusBadge
|
||||
radius={'lg'}
|
||||
variant="filled"
|
||||
variant="light"
|
||||
status={detailData[statusKey as keyof typeof detailData] as string}
|
||||
getCustomConfig={getCustomStatusBadgeConfig}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user