diff --git a/bun.lockb b/bun.lockb index d1ecbf665..1c255576a 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 8ebce6fb0..29f572a40 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@types/file-saver": "^2.0.5", "@types/jsdom": "^16.2.14", "@types/leaflet": "^1.9.0", - "@types/node": "^16.11.27", + "@types/node": "^17.0.29", "@types/uuid": "^8.3.4", "@types/webfontloader": "^1.0.0", "@vitejs/plugin-vue": "3.1.0", diff --git a/src/App.vue b/src/App.vue index c874442f7..04b9aaea8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -155,6 +155,7 @@ import Dialog from './components/Dialog.vue' import EditMenu from './components/EditMenu.vue' import MiniWidgetContainer from './components/MiniWidgetContainer.vue' import Alerter from './components/widgets/Alerter.vue' +import { datalogger } from './libs/logging' import { useWidgetManagerStore } from './stores/widgetManager' const widgetStore = useWidgetManagerStore() @@ -210,6 +211,9 @@ watch([() => widgetStore.currentView, () => widgetStore.currentView.showBottomBa const debouncedToggleBottomBar = useDebounceFn(() => (showBottomBarNow.value = !showBottomBarNow.value), 25) const bottomBarToggleCallbackId = registerActionCallback(CockpitAction.TOGGLE_BOTTOM_BAR, debouncedToggleBottomBar) onBeforeUnmount(() => unregisterActionCallback(bottomBarToggleCallbackId)) + +// Start datalogging +datalogger.startLogging()