Skip to content

Commit a04c643

Browse files
committed
Show the search and "Show All" button if the review period is in the approval state.
1 parent e96930e commit a04c643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-ui/src/components/reviews/TeamReviews.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ const TeamReviews = ({ onBack, periodId }) => {
971971
</Alert>
972972
)}
973973

974-
{canApprove && (
974+
{approvalState && (
975975
<div id="approval-row" style={{ display: 'flex', alignItems: 'center' }}>
976976
{/* Wrapper div for TextField and Switch */}
977977
<div style={{ display: 'flex', alignItems: 'center', flexGrow: 1 }}>

0 commit comments

Comments
 (0)