summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-09-23 16:15:19 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-09-24 10:28:03 +0200
commiteb87db69a9000de36af7529988e647555e60aa42 (patch)
tree44683edcfa9e7675f3695fb7257a621a8e5c61f6 /gui/src
parent8cbe0c2035724681580fdc1262e5cd7a5528a1c6 (diff)
downloadmullvadvpn-eb87db69a9000de36af7529988e647555e60aa42.tar.xz
mullvadvpn-eb87db69a9000de36af7529988e647555e60aa42.zip
Fix try again button in problem report view
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/Support.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/src/renderer/components/Support.tsx b/gui/src/renderer/components/Support.tsx
index 6e251a86dc..9436636516 100644
--- a/gui/src/renderer/components/Support.tsx
+++ b/gui/src/renderer/components/Support.tsx
@@ -112,7 +112,11 @@ export default class Support extends React.Component<ISupportProps, ISupportStat
const sendState = this.state.sendState;
if (sendState === SendState.Initial && this.state.email.length === 0) {
this.setState({ sendState: SendState.Confirm });
- } else if (sendState === SendState.Initial || sendState === SendState.Confirm) {
+ } else if (
+ sendState === SendState.Initial ||
+ sendState === SendState.Confirm ||
+ sendState === SendState.Failed
+ ) {
try {
await this.sendReport();
} catch (error) {