Fix 'submit debug logs' checkbox in the rageshake form
Fixes https://github.com/vector-im/element-call/issues/550
This commit is contained in:
parent
1d7da9c455
commit
c550545116
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 descriptionData = data.get("description");
|
||||||
const description =
|
const description =
|
||||||
typeof descriptionData === "string" ? descriptionData : "";
|
typeof descriptionData === "string" ? descriptionData : "";
|
||||||
const sendLogsData = data.get("sendLogs");
|
const sendLogs = Boolean(data.get("sendLogs"));
|
||||||
const sendLogs =
|
|
||||||
typeof sendLogsData === "string" ? sendLogsData === "true" : false;
|
|
||||||
const rageshakeRequestId = randomString(16);
|
const rageshakeRequestId = randomString(16);
|
||||||
|
|
||||||
submitRageshake({
|
submitRageshake({
|
||||||
|
|
Loading…
Reference in a new issue