Settings: Refresh All Sites data after returning from Site Details.
Currently the All Sites page |siteGroupMap| will not repopulate when we click the back button from the Site Details page. This CL populates the site list data whenever the All Sites route is navigated. This CL also simplifies the |siteGroupMap| updating mechanism. Since the site list sent from the backend will always include permissions and storage, we can simply in-place update the |siteGroupMap| when a new list is fetched. BUG=835712 Change-Id: If8c6d8ae5092cfaa7b85dd49527c478243cddf86 Reviewed-on: https://chromium-review.googlesource.com/c/1428622Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Patti <patricialor@chromium.org> Commit-Queue: Maggie Cai <mxcai@chromium.org> Cr-Commit-Position: refs/heads/master@{#625427}
Showing
Please register or sign in to comment