diff options
author | Stan Grishin <stangri@melmac.ca> | 2023-02-23 21:38:07 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.ca> | 2023-02-23 21:48:13 +0000 |
commit | 0d4b675e7062ddc0d1d2b9be2d0962186239c51b (patch) | |
tree | 898f0fcdda762735305dcef513b99299cb8e9d97 /applications/luci-app-pbr/htdocs/luci-static | |
parent | a505bb106701502f990fe397b3474ccccb8e4b4b (diff) |
luci-app-pbr: bugfixes
* do not remove non-empty custom user files fields
* add provides for vpnbypass and vpn-policy-routing luci apps
addresses https://github.com/openwrt/luci/pull/6127#pullrequestreview-1311512052
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-pbr/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-pbr/htdocs/luci-static/resources/view/pbr/overview.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-pbr/htdocs/luci-static/resources/view/pbr/overview.js b/applications/luci-app-pbr/htdocs/luci-static/resources/view/pbr/overview.js index e2d9d7b9b2..5ddf263a1e 100644 --- a/applications/luci-app-pbr/htdocs/luci-static/resources/view/pbr/overview.js +++ b/applications/luci-app-pbr/htdocs/luci-static/resources/view/pbr/overview.js @@ -267,10 +267,12 @@ return view.extend({ o = s.option(form.Flag, "enabled", _("Enabled")); o.optional = false; o.editable = true; + o.rmempty = false; o = s.option(form.Value, "path", _("Path")); o.optional = false; o.editable = true; + o.rmempty = false; return Promise.all([status.render(), m.render()]); }) |