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:
Edwin Kempin
2014-04-07 15:38:02 +02:00
parent 6b9159abe7
commit c1fe0a63e8

View File

@@ -589,7 +589,7 @@ public class Gerrit implements EntryPoint {
if (signedIn) {
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>() {
@Override
public void onSuccess(Preferences prefs) {