Skip to content

Commit

Permalink
fix: upgrading feedback privacy
Browse files Browse the repository at this point in the history
  • Loading branch information
saumon-brule committed Feb 12, 2024
1 parent 4a465d9 commit c013a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Feedback/FeedbackForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export default function FeedbackForm({ activeUser, carpeConviviale, onSubmit=()
{
color: parseInt("0x" + color),
author: {
name: (activeUser ? activeUser.lastName + " " + activeUser.firstName : "Poisson-zèbre Augmenté") + " (" + (isAnonymous ? "N/A" : (userEmail || (activeUser ? activeUser.email : ""))) + ")",
name: ((activeUser && isAnonymous) ? activeUser.lastName + " " + activeUser.firstName : "Poisson-zèbre Augmenté") + " (" + (isAnonymous ? "N/A" : (userEmail || (activeUser ? activeUser.email : ""))) + ")",
icon_url: ((isAnonymous || !activeUser) ? "https://i.ibb.co/CKmD9z8/poisson-z-bre.jpg" : getProxiedURL("https:" + activeUser.picture))
},
title: "**__" + selectedFeedbackType + "__ : " + subject + "**",
Expand Down

0 comments on commit c013a48

Please sign in to comment.