While working on #232, I noticed that the listLocations API was being called multiple times. As the plugin refreshes the page to update the sync status on each visit, the listLocations API gets triggered repeatedly. The listLocations API should only be called on the sync settings page, not on the sync status page.
While working on #232, I noticed that the
listLocations
API was being called multiple times. As the plugin refreshes the page to update the sync status on each visit, thelistLocations
API gets triggered repeatedly. ThelistLocations
API should only be called on the sync settings page, not on the sync status page.