Skip to content

Commit

Permalink
fix(amazonq): prevent empty chat bubble (#4761)
Browse files Browse the repository at this point in the history
Co-authored-by: David Hasani <[email protected]>
  • Loading branch information
dhasani23 and David Hasani authored Aug 5, 2024
1 parent 400987d commit 9970775
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "fix(Amazon Q Code Transformation): prevent empty chat bubble from appearing when starting or cancelling a transformation"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class CodeTransformChatHelper(
suspend fun addNewMessage(
content: CodeTransformChatMessageContent,
messageIdOverride: String? = null,
clearPreviousItemButtons: Boolean? = true
clearPreviousItemButtons: Boolean? = false
) {
if (activeCodeTransformTabId == null || chatSessionStorage.getSession(activeCodeTransformTabId as String).isAuthenticating) {
return
Expand Down

0 comments on commit 9970775

Please sign in to comment.