File tree Expand file tree Collapse file tree 2 files changed +10
-17
lines changed
routes/chat/[agentId]/[conversationId] Expand file tree Collapse file tree 2 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 794794 flex-wrap : wrap ;
795795 overflow-y : auto ;
796796 scrollbar-width : none ;
797- min-height : 100 px ;
797+ min-height : 80 px ;
798798 max-height : 180px ;
799799
800800 .conv-tag-unit {
Original file line number Diff line number Diff line change 15011501 </Dropdown>
15021502 </li>
15031503 {/if}
1504- <DropdownItem
1505- disabled={currentUser?.role !== UserRole.Admin}
1506- on:click={() => toggleTagModal()}
1507- >
1508- Add Tags
1509- </DropdownItem>
1504+ {#if currentUser?.role === UserRole.Admin}
1505+ <DropdownItem on:click={() => toggleTagModal()}>
1506+ Add Tags
1507+ </DropdownItem>
1508+ {/if}
15101509 {#if agent?.id === LERNER_ID && mode === TRAINING_MODE}
15111510 <DropdownItem on:click={() => handleSaveKnowledge()}>Save Knowledge</DropdownItem>
15121511 {/if}
15521551 disabled={disableAction}
15531552 on:click={() => endChat()}
15541553 >
1555- <span
1556- data-bs-toggle="tooltip"
1557- data-bs-placement="top"
1558- title="Exit Conversation"
1559- >
1560- {#if !isLite}
1561- <span class="me-2">End</span>
1562- {/if}
1563- <i class="mdi mdi-window-close" />
1564- </span>
1554+ {#if !isLite}
1555+ <span class="me-2">End</span>
1556+ {/if}
1557+ <i class="mdi mdi-window-close" />
15651558 </button>
15661559 </li>
15671560 </ul>
You can’t perform that action at this time.
0 commit comments