mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: project page link error fix (#2494)
This commit is contained in:
parent
5f014d204c
commit
1b8f6e2129
@ -184,11 +184,12 @@ export const ProjectCard: React.FC<ProjectCardProps> = observer((props) => {
|
||||
)}
|
||||
</Tooltip>
|
||||
{(isOwner || isMember) && (
|
||||
<Link href={`/${workspaceSlug}/projects/${project.id}/settings`}>
|
||||
<a className="flex items-center justify-center p-1 text-custom-text-400 hover:bg-custom-background-80 hover:text-custom-text-200 rounded">
|
||||
<Pencil className="h-3.5 w-3.5" />
|
||||
</a>
|
||||
</Link>
|
||||
<button
|
||||
className="flex items-center justify-center p-1 text-custom-text-400 hover:bg-custom-background-80 hover:text-custom-text-200 rounded"
|
||||
onClick={() => router.push(`/${workspaceSlug}/projects/${project.id}/settings`)}
|
||||
>
|
||||
<Pencil className="h-3.5 w-3.5" />
|
||||
</button>
|
||||
)}
|
||||
|
||||
{!project.is_member ? (
|
||||
|
Loading…
Reference in New Issue
Block a user