From 68eeff07441b06286263f6d3508771762537e799 Mon Sep 17 00:00:00 2001 From: "Valentin D. Pinkman" Date: Fri, 21 Dec 2018 10:43:55 +0100 Subject: [PATCH] fix glitch that forces update modal to open automatically on entering manager --- src/components/ManagerPage/FirmwareUpdate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ManagerPage/FirmwareUpdate.js b/src/components/ManagerPage/FirmwareUpdate.js index 8d1b0b01..9eb9d547 100644 --- a/src/components/ManagerPage/FirmwareUpdate.js +++ b/src/components/ManagerPage/FirmwareUpdate.js @@ -59,7 +59,7 @@ class FirmwareUpdate extends PureComponent { this.setState({ firmware, ready: true, - modal: 'install', + modal: deviceInfo.isOSU ? 'install' : 'closed', stepId: deviceInfo.isOSU ? 'updateMCU' : 'idCheck', }) /* eslint-enable */