Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix [object Object] in feedback metadata #10390

Merged
merged 1 commit into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/spaces/SpaceCreateMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]),
),
});
Expand Down
2 changes: 1 addition & 1 deletion src/rageshake/submit-rageshake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down