mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: don't show completion percentage if user has no assigned issues (#1984)
This commit is contained in:
parent
a1acd2772e
commit
6e7701d854
@ -162,6 +162,7 @@ export const ProfileSidebar = () => {
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex-shrink-0 flex items-center gap-2">
|
||||
{project.assigned_issues > 0 && (
|
||||
<Tooltip tooltipContent="Completion percentage" position="left">
|
||||
<div
|
||||
className={`px-1 py-0.5 text-xs font-medium rounded ${
|
||||
@ -175,6 +176,7 @@ export const ProfileSidebar = () => {
|
||||
{completedIssuePercentage}%
|
||||
</div>
|
||||
</Tooltip>
|
||||
)}
|
||||
<Icon iconName="arrow_drop_down" className="!text-lg" />
|
||||
</div>
|
||||
</Disclosure.Button>
|
||||
|
Loading…
Reference in New Issue
Block a user