aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppUpdateInfoBar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/AppUpdateInfoBar.tsx')
-rw-r--r--src/components/AppUpdateInfoBar.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/AppUpdateInfoBar.tsx b/src/components/AppUpdateInfoBar.tsx
index ff4a9b9ad..b27578d10 100644
--- a/src/components/AppUpdateInfoBar.tsx
+++ b/src/components/AppUpdateInfoBar.tsx
@@ -6,6 +6,7 @@ import InfoBar from './ui/InfoBar';
6import Icon from './ui/icon'; 6import Icon from './ui/icon';
7 7
8import { onAuthGoToReleaseNotes } from '../helpers/update-helpers'; 8import { onAuthGoToReleaseNotes } from '../helpers/update-helpers';
9import { isWinPortable } from '../environment';
9 10
10const messages = defineMessages({ 11const messages = defineMessages({
11 updateAvailable: { 12 updateAvailable: {
@@ -36,7 +37,9 @@ const AppUpdateInfoBar = (props: IProps) => {
36 <InfoBar 37 <InfoBar
37 type="primary" 38 type="primary"
38 ctaLabel={intl.formatMessage(messages.buttonInstallUpdate)} 39 ctaLabel={intl.formatMessage(messages.buttonInstallUpdate)}
39 onClick={onInstallUpdate} 40 onClick={event => {
41 !isWinPortable && onInstallUpdate(event);
42 }}
40 onHide={onHide} 43 onHide={onHide}
41 > 44 >
42 <Icon icon={mdiInformation} /> 45 <Icon icon={mdiInformation} />