From 2bd56eae1eb1773a6de3250f834a25d4e50543d4 Mon Sep 17 00:00:00 2001
From: Ty Dunn <ty@tydunn.com>
Date: Thu, 29 Jun 2023 16:27:40 -0700
Subject: close on data collection

---
 extension/react-app/src/components/DebugPanel.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'extension/react-app/src/components/DebugPanel.tsx')

diff --git a/extension/react-app/src/components/DebugPanel.tsx b/extension/react-app/src/components/DebugPanel.tsx
index 94dbac9e..fffb6c6e 100644
--- a/extension/react-app/src/components/DebugPanel.tsx
+++ b/extension/react-app/src/components/DebugPanel.tsx
@@ -7,6 +7,7 @@ import {
   setVscMachineId,
   setSessionId,
   setVscMediaUrl,
+  setDataSwitchOn,
 } from "../redux/slices/configSlice";
 import { setHighlightedCode } from "../redux/slices/miscSlice";
 import { updateFileSystem } from "../redux/slices/debugContexSlice";
@@ -39,6 +40,7 @@ function DebugPanel(props: DebugPanelProps) {
           dispatch(setVscMachineId(event.data.vscMachineId));
           dispatch(setSessionId(event.data.sessionId));
           dispatch(setVscMediaUrl(event.data.vscMediaUrl));
+          dispatch(setDataSwitchOn(event.data.dataSwitchOn));
           break;
         case "highlightedCode":
           dispatch(setHighlightedCode(event.data.rangeInFile));
-- 
cgit v1.2.3-70-g09d2

