From e9aee96440dec9b748f19611d360f0519e78ca17 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Thu, 4 Oct 2018 23:03:52 +0200 Subject: [PATCH] enable App/UpdateFirmware notification --- .../notifications/App/components/UpdateFirmware/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/notifications/App/components/UpdateFirmware/index.js b/src/components/notifications/App/components/UpdateFirmware/index.js index 726bafe0..94d2e74a 100644 --- a/src/components/notifications/App/components/UpdateFirmware/index.js +++ b/src/components/notifications/App/components/UpdateFirmware/index.js @@ -5,6 +5,9 @@ import { Notification } from 'components/Notification'; import type { Props } from '../../index'; export default (props: Props) => { + const { selectedDevice } = props.wallet; + const outdated = selectedDevice && selectedDevice.features && selectedDevice.firmware === 'outdated'; + if (!outdated) return null; return (