From 6c4c135eb8a1f777f4422d02359bc6575716c749 Mon Sep 17 00:00:00 2001 From: Jan Starzak Date: Tue, 3 Oct 2023 17:18:53 +0200 Subject: [PATCH] fix: persist events to produce usable event info, add better log information when event context can't be constructed --- meteor/client/ui/Settings/DeviceSettings.tsx | 21 ++++++++++++-------- meteor/client/ui/Status/SystemStatus.tsx | 1 + meteor/lib/clientUserAction.ts | 5 ++++- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/meteor/client/ui/Settings/DeviceSettings.tsx b/meteor/client/ui/Settings/DeviceSettings.tsx index 3dce2d5b15..c9341397a1 100644 --- a/meteor/client/ui/Settings/DeviceSettings.tsx +++ b/meteor/client/ui/Settings/DeviceSettings.tsx @@ -69,7 +69,9 @@ export default translateWithTracker) { + e.persist() + const { t } = this.props doModalDialog({ message: t('Are you sure you want to restart this device?'), @@ -148,7 +150,7 @@ export default translateWithTracker{t('Generic Properties')}