chore: show tracking for current user

chore/update-progress
Arik Chakma 1 year ago
parent eefce5c6a5
commit 081e16eb9b
  1. 20
      src/components/TeamProgress/MemberProgressModal.tsx

@ -343,15 +343,17 @@ export function MemberProgressModal(props: ProgressMapProps) {
<span data-progress-total="">{memberTotal}</span> Total
</span>
</div>
<button
onClick={() => {
setShowProgressHint(true);
}}
class="mr-4 flex items-center gap-1 text-sm font-medium text-black opacity-60 transition-opacity hover:opacity-100"
>
<img src={QuestionIcon} className="h-4 w-4" />
Track Progress
</button>
{isCurrentUser && (
<button
onClick={() => {
setShowProgressHint(true);
}}
class="mr-4 flex items-center gap-1 text-sm font-medium text-black opacity-60 transition-opacity hover:opacity-100"
>
<img src={QuestionIcon} className="h-4 w-4" />
Track Progress
</button>
)}
</div>
</div>

Loading…
Cancel
Save