Fix internal storage of 'My' menu bar
A wrong menu bar was stored as 'My' menu bar. Change-Id: I598c33f085c2be238fe813ca65d822d36a168071 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -589,7 +589,7 @@ public class Gerrit implements EntryPoint {
|
|||||||
|
|
||||||
if (signedIn) {
|
if (signedIn) {
|
||||||
final LinkMenuBar myBar = new LinkMenuBar();
|
final LinkMenuBar myBar = new LinkMenuBar();
|
||||||
menuBars.put(GerritTopMenu.MY.menuName, m);
|
menuBars.put(GerritTopMenu.MY.menuName, myBar);
|
||||||
AccountApi.self().view("preferences").get(new AsyncCallback<Preferences>() {
|
AccountApi.self().view("preferences").get(new AsyncCallback<Preferences>() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(Preferences prefs) {
|
public void onSuccess(Preferences prefs) {
|
||||||
|
|||||||
Reference in New Issue
Block a user