Closed ushahidlee closed 1 month ago
Issue
Each visit to a data source settings page, rewrites the entire config for the data source, wiping out any data that isnt included in the form.
Solution
This PR adds a hidden field to store the id of the last retrieved email which will persist even when settings are changed. It works in combination with a frontend PR (https://github.com/ushahidi/platform-client-mzima/pull/1008).
Testing
USH-1164 Gmail should work when setup as a data source via email
Issue
Each visit to a data source settings page, rewrites the entire config for the data source, wiping out any data that isnt included in the form.
Solution
This PR adds a hidden field to store the id of the last retrieved email which will persist even when settings are changed. It works in combination with a frontend PR (https://github.com/ushahidi/platform-client-mzima/pull/1008).
Testing