Skip to content

Commit 7c2b064

Browse files
committed
feat: hide chat toolbox during thinking
1 parent 10eb41f commit 7c2b064

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/src/views/chat/chat-block/ChartBlock.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,9 @@ function addToDashboard() {
193193
<template>
194194
<div
195195
v-if="
196-
(!isPredict && (message?.record?.sql || message?.record?.chart)) ||
197-
(isPredict && message?.record?.chart && data.length > 0)
196+
!message.isTyping &&
197+
((!isPredict && (message?.record?.sql || message?.record?.chart)) ||
198+
(isPredict && message?.record?.chart && data.length > 0))
198199
"
199200
class="chart-component-container"
200201
:class="{ 'full-screen': enlarge }"

0 commit comments

Comments
 (0)