Skip to content

Commit

Permalink
config-mode: show mesh-vpn options if parker is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasalehlia authored and SmithChart committed Oct 19, 2024
1 parent a8a703d commit 5a6d1e7
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
local vpn = require 'gluon.mesh-vpn'
local _, active_vpn = vpn.get_active_provider()

return function(form, uci)
if active_vpn == nil then
return
end

local pkg_i18n = i18n 'gluon-config-mode-mesh-vpn'

local msg = pkg_i18n.translate(
Expand Down

0 comments on commit 5a6d1e7

Please sign in to comment.