Fix "members" link (#62)

* Fix the "Members" link in the "not_implemented" page

* Redirect ".../members" to "...#members"

* pr62: version bump

Co-authored-by: Key Networks <34238649+key-networks@users.noreply.github.com>
This commit is contained in:
lideming 2021-03-10 21:29:37 +08:00 committed by GitHub
parent 1295dd1d07
commit d966c51e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -683,6 +683,8 @@ exports.members = async function(req, res) {
} }
} }
} }
} else { // GET
res.redirect("/controller/network/" + req.params.nwid + "#members");
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "ztncui", "name": "ztncui",
"version": "0.7.0", "version": "0.7.1",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node ./bin/www", "start": "node ./bin/www",

View File

@ -16,5 +16,5 @@ block net_content
h4 h4
| Note that you may be able to edit some properties on the | Note that you may be able to edit some properties on the
strong strong
a(href='/controller/network/' + network.nwid + '/members') Members a(href='/controller/network/' + network.nwid + '#members') Members
| page. | page.