summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-06-10 10:18:54 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-06-10 10:18:54 +0200
commiteb2ea667bfb1cc32f1cb12d56310fc01f70393ec (patch)
treeb60137d9da84036265b0cd2ecafbfb8129b8c393 /gui/src
parent8cc1cc968e8235dfde842555067eeea59b0bff0c (diff)
downloadmullvadvpn-eb2ea667bfb1cc32f1cb12d56310fc01f70393ec.tar.xz
mullvadvpn-eb2ea667bfb1cc32f1cb12d56310fc01f70393ec.zip
Fix in-app notification button onclick
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/AppButton.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/renderer/components/AppButton.tsx b/gui/src/renderer/components/AppButton.tsx
index c0731917d0..b5ad906410 100644
--- a/gui/src/renderer/components/AppButton.tsx
+++ b/gui/src/renderer/components/AppButton.tsx
@@ -133,6 +133,8 @@ export class BlockingButton extends React.Component<IBlockingProps, IBlockingSta
...child.props,
disabled: this.state.isBlocked || this.props.disabled,
onClick: this.onClick,
+ // TODO: Remove when NotificationOpenLinkAction has been converted from ReactXP
+ onPress: this.onClick,
});
} else {
return child;