Skip to content

Commit

Permalink
Do not show Org Admin approver
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIJ committed Aug 8, 2024
1 parent 381e3bc commit dcbbcc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export const ProjectRunDetails: React.FC<{
{run.status === ToTitleCase('discarded') && (
<T.Small className="flex items-center"><XCircle className="text-red-500 mr-2" /> Discarded by: </T.Small>
)}
{run.is_approved !== null && (
{run.is_approved !== null && approverUser?.user_name !== null && (
<motion.div
className="pt-4 mt-auto"
initial={{ opacity: 0, y: 50 }}
Expand Down

0 comments on commit dcbbcc0

Please sign in to comment.