Skip to content

Commit 08d67ae

Browse files
committed
fix(Embedded Management): Assistant removes the floating window displaying history.
1 parent 3fe0786 commit 08d67ae

File tree

1 file changed

+8
-33
lines changed

1 file changed

+8
-33
lines changed

frontend/src/views/chat/index.vue

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,13 @@
11
<template>
2-
<el-popover
3-
v-if="assistantStore.assistant && !assistantStore.pageEmbedded && assistantStore.type != 4"
4-
:width="280"
5-
placement="bottom-start"
6-
popper-class="popover-chat_history popover-chat_history_small"
7-
:disabled="isPhone"
2+
<el-icon
3+
class="show-history_icon"
4+
:class="{ 'embedded-history-hidden': embeddedHistoryHidden }"
5+
style=""
6+
size="20"
7+
@click="showFloatPopover"
88
>
9-
<template #reference>
10-
<el-icon
11-
class="show-history_icon"
12-
:class="{ 'embedded-history-hidden': embeddedHistoryHidden }"
13-
style=""
14-
size="20"
15-
@click="showFloatPopover"
16-
>
17-
<icon_sidebar_outlined></icon_sidebar_outlined>
18-
</el-icon>
19-
</template>
20-
<ChatListContainer
21-
ref="floatPopoverRef"
22-
v-model:chat-list="chatList"
23-
v-model:current-chat-id="currentChatId"
24-
v-model:current-chat="currentChat"
25-
v-model:loading="loading"
26-
in-popover
27-
:app-name="customName"
28-
@go-empty="goEmpty"
29-
@on-chat-created="onChatCreated"
30-
@on-click-history="onClickHistory"
31-
@on-chat-deleted="onChatDeleted"
32-
@on-chat-renamed="onChatRenamed"
33-
@on-click-side-bar-btn="hideSideBar"
34-
/>
35-
</el-popover>
9+
<icon_sidebar_outlined></icon_sidebar_outlined>
10+
</el-icon>
3611
<el-container class="chat-container no-padding">
3712
<el-aside
3813
v-if="(isCompletePage || pageEmbedded) && chatListSideBarShow"

0 commit comments

Comments
 (0)