summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main/daemon-rpc.ts
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2022-02-01 11:57:52 +0100
committerDavid Lönnhager <david.l@mullvad.net>2022-02-08 17:43:12 +0100
commite2f7cf1ba90fa59ea04d26dae28ae576db92bb07 (patch)
treec20956d1bb25f8703186171d97059fd23d6e1cec /gui/src/main/daemon-rpc.ts
parent022874449ba862aba6788bb430099923ba8a1a6c (diff)
downloadmullvadvpn-e2f7cf1ba90fa59ea04d26dae28ae576db92bb07.tar.xz
mullvadvpn-e2f7cf1ba90fa59ea04d26dae28ae576db92bb07.zip
Reapply excluded paths when the frontend receives messages for device
arrivals or removals
Diffstat (limited to 'gui/src/main/daemon-rpc.ts')
-rw-r--r--gui/src/main/daemon-rpc.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts
index ac677f4ded..c00508dc57 100644
--- a/gui/src/main/daemon-rpc.ts
+++ b/gui/src/main/daemon-rpc.ts
@@ -501,6 +501,10 @@ export class DaemonRpc {
await this.callBool(this.client.setSplitTunnelState, enabled);
}
+ public async checkVolumes(): Promise<void> {
+ await this.callEmpty(this.client.checkVolumes);
+ }
+
private subscriptionId(): number {
const current = this.nextSubscriptionId;
this.nextSubscriptionId += 1;