fix: reduce BUTTON_TEXT_MAX_LENGTH to 20 in user action component for consistency

This commit is contained in:
twwu 2026-01-16 17:12:58 +08:00
parent 51a7ddba81
commit 3bf8f19874
1 changed files with 1 additions and 1 deletions

View File

@ -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