We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f29bfc commit f1527b0Copy full SHA for f1527b0
src/pages/options/routes/ScriptList.tsx
@@ -130,7 +130,7 @@ function ScriptList() {
130
{
131
title: t("enable"),
132
width: 100,
133
- key: "enable",
+ dataIndex: "status",
134
sorter(a, b) {
135
return a.status - b.status;
136
},
@@ -243,9 +243,7 @@ function ScriptList() {
243
244
245
title: t("apply_to_run_status"),
246
- dataIndex: "status",
247
width: 140,
248
- key: "status",
249
render(col, item: Script) {
250
const toLogger = () => {
251
navigate({
@@ -382,10 +380,8 @@ function ScriptList() {
382
380
383
381
384
title: t("sorting"),
385
- dataIndex: "sort",
386
key: "id",
387
width: 80,
388
- sorter: (a, b) => a.sort - b.sort,
389
align: "center",
390
render() {
391
return (
0 commit comments