Console: Hide netdb RI and LS tabs (ticket #2558)

This commit is contained in:
zzz
2019-07-04 12:34:14 +00:00
parent df223af23d
commit 7a64505139
3 changed files with 6 additions and 3 deletions

View File

@ -38,10 +38,10 @@ public class NetDbHelper extends FormHandler {
{_x("Summary"), // 0
_x("Local Router"), // 1
_x("Router Lookup"), // 2
// advanced below here
_x("All Routers"), // 3
_x("All Routers with Full Stats"), // 4
_x("LeaseSets"), // 5
// advanced below here
"LeaseSet Debug", // 6
"Sybil", // 7
"Advanced Lookup" }; // 8
@ -334,7 +334,7 @@ public class NetDbHelper extends FormHandler {
for (int i = 0; i < titles.length; i++) {
if (i == 2 && tab != 2)
continue; // can't nav to lookup
if (i > 5 && !isAdvanced())
if (i > 2 && i != tab && !isAdvanced())
continue;
if (i == tab) {
// we are there

View File

@ -1,3 +1,6 @@
2019-07-04 zzz
* Console: Hide netdb RI and LS tabs (ticket #2558)
* 2019-07-03 0.9.41 released
2019-06-28 zzz

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 0;
public final static long BUILD = 1;
/** for example "-test" */
public final static String EXTRA = "";