Skip to content

Commit

Permalink
Merge pull request #551 from vector-im/dbkr/fix_rageshake_form
Browse files Browse the repository at this point in the history
Fix 'submit debug logs' checkbox in the rageshake form
  • Loading branch information
dbkr authored Aug 24, 2022
2 parents 1d7da9c + c550545 commit a479863
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/room/FeedbackModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ export function FeedbackModal({ inCall, roomId, onClose, ...rest }: Props) {
const descriptionData = data.get("description");
const description =
typeof descriptionData === "string" ? descriptionData : "";
const sendLogsData = data.get("sendLogs");
const sendLogs =
typeof sendLogsData === "string" ? sendLogsData === "true" : false;
const sendLogs = Boolean(data.get("sendLogs"));
const rageshakeRequestId = randomString(16);

submitRageshake({
Expand Down

0 comments on commit a479863

Please sign in to comment.