refactor: Hide the assistant, page embedding, and other third-party embedded applications' add to dashboard button (#102)

This commit is contained in:
王嘉豪
2025-09-02 21:28:33 +08:00
committed by GitHub
parent ebfaa4c7c2
commit aaaa0c6c6e
@@ -395,7 +395,7 @@ watch(
</div>
</el-popover>
</div>
<div v-if="message?.record?.chart">
<div v-if="message?.record?.chart && !isAssistant">
<el-tooltip effect="dark" :content="t('chat.add_to_dashboard')" placement="top">
<el-button class="tool-btn" text @click="addToDashboard">
<el-icon size="16">