File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Coder Desktop/Coder Desktop Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ struct VPNMenuState {
105105 mutating func upsertWorkspace( _ workspace: Vpn_Workspace ) {
106106 guard let wsID = UUID ( uuidData: workspace. id) else { return }
107107 // 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).
109109 workspaces [ wsID] = Workspace ( id: wsID, name: workspace. name. lowercased ( ) , agents: [ ] )
110110 // Check if we can associate any invalid agents with this workspace
111111 invalidAgents. filter { agent in
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ struct VPNMenu<VPN: VPNService>: View {
8686 }
8787
8888 private var vpnDisabled : Bool {
89- !session . hasSession ||
89+ !state . hasSession ||
9090 vpn. state == . connecting ||
9191 vpn. state == . disconnecting ||
9292 vpn. state == . failed( . systemExtensionError( . needsUserApproval) )
You can’t perform that action at this time.
0 commit comments