Files
gerrit/polygerrit-ui/app/elements
Wyatt Allen 34d5199b87 Prevent settings URL evaluation before router initialization
The registration dialog makes use of the router's abstracted settings
URL independently of any of its configuration. Consequently, the dialog
evaluates the URL immediately when instantiated by the gr-app element.
Because gr-app initializes the router in its ready lifecycle callback,
this evaluation occurs before the router is ready to provide the URL.

With this change, the settings URL is evaluated by gr-app after it
directly initializes the router, and the resulting string is passed-down
into the registration dialog element.

Bug: Issue 7837
Change-Id: Ief4daaaa6925f1109487ddb6cee0578e647526d4
2018-01-12 14:25:12 -08:00
..