mirror of https://github.com/langgenius/dify.git
fix: reduce BUTTON_TEXT_MAX_LENGTH to 20 in user action component for consistency
This commit is contained in:
parent
51a7ddba81
commit
3bf8f19874
|
|
@ -12,7 +12,7 @@ import ButtonStyleDropdown from './button-style-dropdown'
|
|||
|
||||
const i18nPrefix = 'nodes.humanInput'
|
||||
const ACTION_ID_MAX_LENGTH = 20
|
||||
const BUTTON_TEXT_MAX_LENGTH = 40
|
||||
const BUTTON_TEXT_MAX_LENGTH = 20
|
||||
|
||||
type UserActionItemProps = {
|
||||
data: UserAction
|
||||
|
|
|
|||
Loading…
Reference in New Issue