fix: Duplicate template options (#51)

* fix: Duplicate template options

* fix: form option i18n text
This commit is contained in:
仓鼠
2024-12-14 10:16:33 +08:00
committed by GitHub
parent 8c8d3e3057
commit d67b9ff4d2
11 changed files with 46 additions and 128 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export default function CronPage() {
{
header: t("Type"),
accessorKey: "taskType",
accessorFn: (row) => cronTypes[row.task_type] || "",
accessorFn: (row) => cronTypes(t)[row.task_type] || "",
},
{
header: t("CronExpression"),