refactor: enum i18n

This commit is contained in:
naiba
2024-12-14 10:39:07 +08:00
parent d67b9ff4d2
commit b9a8651371
12 changed files with 258 additions and 95 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export default function CronPage() {
{
header: t("Type"),
accessorKey: "taskType",
accessorFn: (row) => cronTypes(t)[row.task_type] || "",
accessorFn: (row) => cronTypes[row.task_type] || "",
},
{
header: t("CronExpression"),