mirror of https://github.com/vector-im/riot-web
Fix `[object Object]` in feedback metadata (#10390)
parent
1e651bf1a5
commit
a4262cd8cf
|
@ -29,7 +29,7 @@ interface IProps {
|
|||
title: string;
|
||||
subheading: string;
|
||||
rageshakeLabel: string;
|
||||
rageshakeData?: Record<string, string>;
|
||||
rageshakeData?: Record<string, any>;
|
||||
children?: ReactNode;
|
||||
onFinished(sendFeedback?: boolean): void;
|
||||
}
|
||||
|
|
|
@ -140,7 +140,7 @@ export const SpaceFeedbackPrompt: React.FC<{
|
|||
rageshakeData: Object.fromEntries(
|
||||
["Spaces.allRoomsInHome", "Spaces.enabledMetaSpaces"].map((k) => [
|
||||
k,
|
||||
String(SettingsStore.getValue(k)),
|
||||
SettingsStore.getValue(k),
|
||||
]),
|
||||
),
|
||||
});
|
||||
|
|
|
@ -288,7 +288,7 @@ export async function submitFeedback(
|
|||
label: string,
|
||||
comment: string,
|
||||
canContact = false,
|
||||
extraData: Record<string, string> = {},
|
||||
extraData: Record<string, any> = {},
|
||||
): Promise<void> {
|
||||
let version: string | undefined;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue