From 63cd3fc409e3ba804197852bf5f555b81e575f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE?= Date: Fri, 6 Sep 2024 18:35:13 +0200 Subject: [PATCH] refactor && rebase --- packages/devextreme/js/__internal/ui/chat/chat_message_box.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devextreme/js/__internal/ui/chat/chat_message_box.ts b/packages/devextreme/js/__internal/ui/chat/chat_message_box.ts index 77ec334491fb..2098c3f19897 100644 --- a/packages/devextreme/js/__internal/ui/chat/chat_message_box.ts +++ b/packages/devextreme/js/__internal/ui/chat/chat_message_box.ts @@ -79,9 +79,9 @@ class MessageBox extends DOMComponent { autoResizeEnabled: true, maxHeight: '20em', onInput: (): void => { - const isButtonDisabled = !this._isValuableTextEntered(); + const shouldButtonBeDisabled = !this._isValuableTextEntered(); - this._toggleButtonDisableState(isButtonDisabled); + this._toggleButtonDisableState(shouldButtonBeDisabled); }, }); }