diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-02-06 15:39:41 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-02-06 15:45:39 +0100 |
| commit | 8c7bc4426f7f97975356cbfa71d4014fae00c859 (patch) | |
| tree | da1b6f2161379a0f593709725dcdffcb8e242721 /gui/src/renderer/components | |
| parent | 033e58637a99a84a7ace29ff1c23bf7c3b456d48 (diff) | |
| download | mullvadvpn-8c7bc4426f7f97975356cbfa71d4014fae00c859.tar.xz mullvadvpn-8c7bc4426f7f97975356cbfa71d4014fae00c859.zip | |
Pass function for reconnecting to TunnelControl
Diffstat (limited to 'gui/src/renderer/components')
| -rw-r--r-- | gui/src/renderer/components/Connect.tsx | 2 | ||||
| -rw-r--r-- | gui/src/renderer/components/TunnelControl.tsx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/renderer/components/Connect.tsx b/gui/src/renderer/components/Connect.tsx index 7f73fb7ea0..4cb63c6a5b 100644 --- a/gui/src/renderer/components/Connect.tsx +++ b/gui/src/renderer/components/Connect.tsx @@ -23,6 +23,7 @@ interface IProps { onSelectLocation: () => void; onConnect: () => void; onDisconnect: () => void; + onReconnect: () => void; onExternalLinkWithAuth: (url: string) => Promise<void>; } @@ -163,6 +164,7 @@ export default class Connect extends Component<IProps, IState> { country={this.props.connection.country} onConnect={this.props.onConnect} onDisconnect={this.props.onDisconnect} + onReconnect={this.props.onReconnect} onSelectLocation={this.props.onSelectLocation} /> diff --git a/gui/src/renderer/components/TunnelControl.tsx b/gui/src/renderer/components/TunnelControl.tsx index 700603bd2e..aa7c762d17 100644 --- a/gui/src/renderer/components/TunnelControl.tsx +++ b/gui/src/renderer/components/TunnelControl.tsx @@ -14,6 +14,7 @@ interface ITunnelControlProps { country?: string; onConnect: () => void; onDisconnect: () => void; + onReconnect: () => void; onSelectLocation: () => void; } |
