Skip to content

Commit

Permalink
Merge pull request #2768 from objectcomputing/bugfix-2752/kudos-appro…
Browse files Browse the repository at this point in the history
…val-message

Only show the Kudos approval message if the kudos is public.
  • Loading branch information
mkimberlin authored Nov 14, 2024
2 parents c7dd3a0 + 26d2a88 commit 6a3434d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-ui/src/components/kudos_dialog/KudosDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,13 @@ const KudosDialog = ({ open, recipient, teamId, onClose }) => {
value={message}
onChange={handleMessageChange}
/>
<Alert
{publicKudos ? <Alert
severity="info"
style={{ marginTop: '1rem', marginBottom: '2rem' }}
>
Kudos will be visible to admins for approval, then sent to the
recipient.
</Alert>
</Alert> : <div style={{ height: "20px" }}/>}
<Button
variant="contained"
disabled={message.trim().length === 0}
Expand Down

0 comments on commit 6a3434d

Please sign in to comment.