Keep a nice bookmarkable URL for direct access of project dashboards
Change-Id: I2f6fcc42044a41864f3cedeb305c471bbcecdb86 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -409,7 +409,10 @@ public class Dispatcher {
|
||||
new GerritCallback<DashboardInfo>() {
|
||||
@Override
|
||||
public void onSuccess(DashboardInfo result) {
|
||||
select(result.url());
|
||||
if (matchPrefix("/dashboard/", result.url())) {
|
||||
String rest = skip(result.url());
|
||||
Gerrit.display(token, new CustomDashboardScreen(rest.substring(1)));
|
||||
}
|
||||
}
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user