Merge pull request #551 from vector-im/dbkr/fix_rageshake_form
Fix 'submit debug logs' checkbox in the rageshake form
This commit is contained in:
commit
a479863f88
1 changed files with 1 additions and 3 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue