Skip to content

Commit

Permalink
Merge pull request #13 from diggerhq/fix/approver-user
Browse files Browse the repository at this point in the history
Do not show Org Admin approver
  • Loading branch information
ZIJ authored Aug 8, 2024
2 parents 0d64f81 + dcbbcc0 commit 17a4fb1
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 17a4fb1

Please sign in to comment.