fix: fetch routed workbench session details (#1322)
This commit is contained in:
@@ -133,7 +133,7 @@ export const useWorkbenchStore = defineStore("workbench", () => {
|
|||||||
const current = await ensureWorkspace();
|
const current = await ensureWorkspace();
|
||||||
if (!current) return false;
|
if (!current) return false;
|
||||||
const existing = visibleConversations.value.find((conversation) => conversation.conversationId === normalized) ?? null;
|
const existing = visibleConversations.value.find((conversation) => conversation.conversationId === normalized) ?? null;
|
||||||
if (existing) {
|
if (existing && (existing.messages?.length ?? 0) > 0) {
|
||||||
if (activeConversationId.value === normalized && messages.value.length > 0) return true;
|
if (activeConversationId.value === normalized && messages.value.length > 0) return true;
|
||||||
await selectConversation(existing);
|
await selectConversation(existing);
|
||||||
return activeConversationId.value === normalized;
|
return activeConversationId.value === normalized;
|
||||||
|
|||||||
Reference in New Issue
Block a user