fix: always hydrate routed workbench sessions (#1321)

This commit is contained in:
Lyon
2026-06-16 09:33:53 +08:00
committed by GitHub
parent ad15005e1a
commit 40067e0957
@@ -31,7 +31,7 @@ useAutoRefresh(() => workbench.refreshLive(), 30_000);
async function applyRouteConversation(): Promise<boolean> {
const conversationId = routeConversationId.value;
if (!conversationId || workbench.activeConversationId === conversationId) return true;
if (!conversationId) return true;
applyingRouteConversation.value = true;
try {
return await workbench.selectConversationById(conversationId);