Skip to content

Commit

Permalink
[chore]: Add columns type
Browse files Browse the repository at this point in the history
  • Loading branch information
zzyangh committed Oct 8, 2024
1 parent c3113c1 commit 8be18d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { BasicTable } from '@actiontech/shared';
import { useTranslation } from 'react-i18next';
import WorkflowStatus from '../../../../../SqlExecWorkflow/List/components/WorkflowStatus';
import { WorkflowDetailResV1StatusEnum } from '@actiontech/shared/lib/api/sqle/service/common.enum';
import { IBasicTable } from '@actiontech/shared/lib/components/BasicTable';

const WorkflowTableField: React.FC<{
value?: React.Key[];
Expand All @@ -16,7 +17,7 @@ const WorkflowTableField: React.FC<{
onChange?.(keys);
};

const columns = [
const columns: IBasicTable<IAssociateWorkflows>['columns'] = [
{
dataIndex: 'workflow_name',
title: t('versionManagement.associateWorkflow.workflowName')
Expand Down

0 comments on commit 8be18d7

Please sign in to comment.