feat: add CronDeleteDialog component and integrate it into CronPage for job deletion
- Implemented a new CronDeleteDialog component for confirming job deletions. - Integrated the CronDeleteDialog into the CronPage, allowing users to delete cron jobs with confirmation. - Refactored job deletion logic to handle state updates and loading indicators during deletion. - Removed unused delivery channel related code from CronPage and CronTaskDialog. - Cleaned up chat store session deletion logic to improve state management and ensure proper session handling.
This commit is contained in:
@@ -35,6 +35,12 @@
|
||||
"deleted": "Task deleted."
|
||||
},
|
||||
"confirmDelete": "Delete “{name}”? This cannot be undone.",
|
||||
"deleteDialog": {
|
||||
"title": "Delete task",
|
||||
"label": "Task name",
|
||||
"confirm": "Confirm delete",
|
||||
"deleting": "Deleting..."
|
||||
},
|
||||
"common": {
|
||||
"unnamedJob": "Untitled task"
|
||||
},
|
||||
|
||||
@@ -35,6 +35,12 @@
|
||||
"deleted": "ลบงานแล้ว"
|
||||
},
|
||||
"confirmDelete": "ต้องการลบ \"{name}\" หรือไม่? การดำเนินการนี้ไม่สามารถย้อนกลับได้",
|
||||
"deleteDialog": {
|
||||
"title": "ลบงาน",
|
||||
"label": "ชื่องาน",
|
||||
"confirm": "ยืนยันการลบ",
|
||||
"deleting": "กำลังลบ..."
|
||||
},
|
||||
"common": {
|
||||
"unnamedJob": "งานไม่มีชื่อ"
|
||||
},
|
||||
|
||||
@@ -35,6 +35,12 @@
|
||||
"deleted": "任务已删除。"
|
||||
},
|
||||
"confirmDelete": "确认删除“{name}”吗?删除后将无法恢复。",
|
||||
"deleteDialog": {
|
||||
"title": "删除任务",
|
||||
"label": "任务名称",
|
||||
"confirm": "确认删除",
|
||||
"deleting": "删除中..."
|
||||
},
|
||||
"common": {
|
||||
"unnamedJob": "未命名任务"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user