Skip to content

Commit

Permalink
yoma: opportunity completion flow improvements (readonly view)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondicker committed Feb 4, 2025
1 parent 6703e77 commit 0756c10
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const OpportunityCompletionRead: React.FC<InputProps> = ({
{data?.userDisplayName}
</p>
<p className="text-sm text-gray-dark">
{data?.userEmail ?? data?.userPhoneNumber}
{data?.userEmail ?? data?.userPhoneNumer}
</p>
<p className="mt-2 flex flex-row items-center text-sm text-gray-dark">
<IoMdPin className="mr-2 h-4 w-4 text-gray-dark" />
Expand Down Expand Up @@ -238,6 +238,14 @@ export const OpportunityCompletionRead: React.FC<InputProps> = ({
</div>
</div>
)}
{data?.commitmentInterval && (data?.commitmentIntervalCount ?? 0) > 0 && (
<div className="flex flex-row gap-2 text-sm text-gray-dark">
<div>Time to complete: </div>
<div className="font-bold">
{data.commitmentIntervalCount} {data.commitmentInterval}
</div>
</div>
)}
</div>
);
};

0 comments on commit 0756c10

Please sign in to comment.