mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
fix currentExchangeId variable typo
Co-authored-by: John Chilton <jmchilton@gmail.com>
This commit is contained in:
co-authored by
John Chilton
parent
5036ebcfb4
commit
c308befda3
@@ -37,7 +37,7 @@ const {
|
||||
pruneAfterDelete,
|
||||
} = useSidebarSelection(chatHistory, (item) => item.id);
|
||||
|
||||
const currentExhangeId = computed(() => {
|
||||
const currentExchangeId = computed(() => {
|
||||
if (chatStore.isCenterMode) {
|
||||
return route.params["exchangeId"] || null;
|
||||
} else {
|
||||
@@ -144,7 +144,7 @@ async function deleteSelected() {
|
||||
<!-- eslint-disable-next-line vuejs-accessibility/click-events-have-key-events vuejs-accessibility/no-static-element-interactions -->
|
||||
<div
|
||||
class="chat-history-item d-flex align-items-start p-2 border-bottom unselectable"
|
||||
:class="{ selected: selectedIds.has(item.id), current: item.id === currentExhangeId }"
|
||||
:class="{ selected: selectedIds.has(item.id), current: item.id === currentExchangeId }"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@click="(event) => handleItemClick(item, index, event)">
|
||||
|
||||
Reference in New Issue
Block a user