File tree 2 files changed +2
-2
lines changed
Coder Desktop/Coder Desktop
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ struct VPNMenuState {
105
105
mutating func upsertWorkspace( _ workspace: Vpn_Workspace ) {
106
106
guard let wsID = UUID ( uuidData: workspace. id) else { return }
107
107
// Workspace names are unique & case-insensitive, and we want to show offline workspaces
108
- // with a valid hostname (lowercase).
108
+ // with a valid hostname (lowercase).
109
109
workspaces [ wsID] = Workspace ( id: wsID, name: workspace. name. lowercased ( ) , agents: [ ] )
110
110
// Check if we can associate any invalid agents with this workspace
111
111
invalidAgents. filter { agent in
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ struct VPNMenu<VPN: VPNService>: View {
86
86
}
87
87
88
88
private var vpnDisabled : Bool {
89
- !session . hasSession ||
89
+ !state . hasSession ||
90
90
vpn. state == . connecting ||
91
91
vpn. state == . disconnecting ||
92
92
vpn. state == . failed( . systemExtensionError( . needsUserApproval) )
You can’t perform that action at this time.
0 commit comments