mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
- During the rendering of the view, the state of installation may keep changing. This may lead to inconsistencies in the page. Avoid that by collecting the state once and then reusing that throughout the rendering process. - During the time that setup middleware's checked of setup state of an app and rendering of app's setup view, if the setup process could get completed. This will lead to setup page being shown even after the application is installed. Handle this case and show a proper page instead of 'Submit Query' button on the page. Fixes #1360. This can be easily replicated by introducing a 10 second sleep after setup middle checks of the application is 'up-to-date'. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>