Reset loading back to true

This is so that when going from

- https://gerrit-review.googlesource.com/admin/repos/Public-Projects,access

to

- https://gerrit-review.googlesource.com/admin/repos/All-Projects,access

will show loading as it needs to be reset.

Bug: Issue 9861
Change-Id: I10e75e1592d73e140005d6ae5a573e5e2b1dbbb5
This commit is contained in:
Paladox none
2018-03-17 20:05:21 +00:00
parent 79d356a5d9
commit 68511792df

View File

@@ -133,6 +133,8 @@
* @return {!Promise}
*/
_repoChanged(repo) {
this._loading = true;
if (!repo) { return Promise.resolve(); }
return this._reload(repo);