{
this.updateField(table, index, "prompted", checked);
}} />
);
},
},
// {
// title: i18next.t("provider:alertType"),
// dataIndex: 'alertType',
// key: 'alertType',
// width: '120px',
// render: (text, record, index) => {
// return (
//
// )
// }
// },
{
title: i18next.t("application:Rule"),
dataIndex: "rule",
key: "rule",
width: "100px",
render: (text, record, index) => {
if (record.provider?.category !== "Captcha") {
return null;
}
return (
);
},
},
{
title: i18next.t("general:Action"),
key: "action",
width: "100px",
render: (text, record, index) => {
return (
} size="small" onClick={() => this.upRow(table, index)} />
} size="small" onClick={() => this.downRow(table, index)} />
} size="small" onClick={() => this.deleteRow(table, index)} />
);
},
},
];
if (!this.props.application.enableSignUp) {
columns = columns.filter(column => column.key !== "canSignUp");
}
return (
(
{this.props.title}
)}
/>
);
}
render() {
return (
{
this.renderTable(this.props.table)
}
);
}
}
export default ProviderTable;