From de582c482b44f641dbdfdd4009aac29ed16ea796 Mon Sep 17 00:00:00 2001 From: sdjdd Date: Mon, 8 Jan 2024 19:23:37 +0800 Subject: [PATCH] feat(next/web): category.meta.slackNewTicketMentionUserEmails --- .../Settings/Categories/CategoryForm.tsx | 32 ++++++++++++++++--- .../src/App/Admin/components/MetaField.tsx | 11 ++++--- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/next/web/src/App/Admin/Settings/Categories/CategoryForm.tsx b/next/web/src/App/Admin/Settings/Categories/CategoryForm.tsx index 4e781470d..e9830be0e 100644 --- a/next/web/src/App/Admin/Settings/Categories/CategoryForm.tsx +++ b/next/web/src/App/Admin/Settings/Categories/CategoryForm.tsx @@ -45,8 +45,31 @@ const FORM_ITEM_STYLE = { marginBottom: 16 }; const CategoryMetaOptions: MetaOptionsGroup[] = [ { - label: 'AI 分类', + key: 'slack', + label: 'Slack 新工单通知用户邮箱', + children: [ + { + key: 'slackNewTicketMentionUserEmails', + type: 'custom', + render: ({ value, onChange }) => ( + +