sidebar: navigate to project in Project Manager using slug
The Home icon in the PROJECT panel now navigates to /projects/{slug}
instead of /projects/{id}. This opens Project Manager with the
project already selected and displayed.
This commit is contained in:
parent
24975b58c4
commit
c635209201
@ -1257,7 +1257,7 @@ export default function ChatSessionView() {
|
|||||||
</h3>
|
</h3>
|
||||||
<button
|
<button
|
||||||
title="Project Manager"
|
title="Project Manager"
|
||||||
onClick={() => navigate(`/projects/${projectId}`)}
|
onClick={() => navigate(`/projects/${project?.slug}`)}
|
||||||
className="text-text-muted hover:text-text-primary transition-colors"
|
className="text-text-muted hover:text-text-primary transition-colors"
|
||||||
>
|
>
|
||||||
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user