mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
add logEvent with event title "export_json"
This commit is contained in:
@@ -153,6 +153,7 @@ export default function Export({ query, closeModal }) {
|
||||
saveAs(csvBlob, fileName);
|
||||
break;
|
||||
case "json":
|
||||
analytics.logEvent("export_json")
|
||||
const jsonData = docs.map((doc: any) =>
|
||||
columns.reduce(selectedColumnsJsonReducer(doc), { id: doc.id })
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user