From 34d96bf49cac8dad894678e66d5f8c987a6d70b3 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford Date: Fri, 21 Dec 2018 01:44:58 -0800 Subject: [PATCH] Add onProjectTelemetryEvent handler for GUI --- src/renderer/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/index.js b/src/renderer/index.js index 559c217..bd86f89 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -50,6 +50,9 @@ const guiProps = { }, onTelemetryModalOptOut: () => { ipcRenderer.send('setTelemetryDidOptIn', false); + }, + onProjectTelemetryEvent: (event, metadata) => { + ipcRenderer.send(event, metadata); } }; const wrappedGui = React.createElement(WrappedGui, guiProps);