fix(agents): open cards from home and align sidebar navigation
This commit is contained in:
1 parent
e5d79bf37a
commit
5e99804bc2
13 files changed
+460
-27
No files matched your search
@@ -83,6 +83,7 @@ function AgentWorkspace() {
|
||||
cloudAgentsApi.recovery().then(async state => {
|
||||
if (!live) return;
|
||||
setPending(state.pending);
|
||||
// Explicit list entries keep the recent workspace pointer without reopening it.
|
||||
if (!state.recent || location.pathname.includes('/shared/') || new URLSearchParams(location.search).has('view')) return;
|
||||
const pointer = state.recent;
|
||||
// Creator drafts may be unpublished; shared entry revalidates current access separately.
|
||||
|
||||
@@ -44,7 +44,7 @@ export function ModuleSelection({ authRequired = true }: { authRequired?: boolea
|
||||
navigate('/login');
|
||||
return;
|
||||
}
|
||||
navigate(route);
|
||||
navigate(route === '/cloud-agents' ? `${route}?view=mine` : route);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user