Skip to content

Commit aaaa0c6

Browse files
authored
refactor: Hide the assistant, page embedding, and other third-party embedded applications' add to dashboard button (#102)
1 parent ebfaa4c commit aaaa0c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ watch(
395395
</div>
396396
</el-popover>
397397
</div>
398-
<div v-if="message?.record?.chart">
398+
<div v-if="message?.record?.chart && !isAssistant">
399399
<el-tooltip effect="dark" :content="t('chat.add_to_dashboard')" placement="top">
400400
<el-button class="tool-btn" text @click="addToDashboard">
401401
<el-icon size="16">

0 commit comments

Comments
 (0)