Parcourir la source

feat: change max_question_num to 5 (#2520)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Rozstone il y a 1 an
Parent
commit
ca69af7b97

+ 1 - 1
web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx

@@ -18,7 +18,7 @@ import { getNewVar } from '@/utils/var'
 import { varHighlightHTML } from '@/app/components/app/configuration/base/var-highlight'
 import { Plus, Trash03 } from '@/app/components/base/icons/src/vender/line/general'
 
-const MAX_QUESTION_NUM = 3
+const MAX_QUESTION_NUM = 5
 
 export type IOpeningStatementProps = {
   value: string