NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
1 stars 0 forks source link

Grey out GO back button on app start #409

Open bhsi-snm opened 11 months ago

bhsi-snm commented 11 months ago

Template for isues/tickets in DigiApp

What is the issue ?

When starting the digi app from scratch and before adding anything, if “Go Back” is pressed, it throws up an error message. On getting rid of the message, the app crashes.

Why is it needed/relevant ?

it is important to avoid mistakes and app crash which could also affect the db

Estimate level of effort required.

easy

What is the expected acceptable result.

just grey out the button and only enable if there is data in the db

What could be the challenges ?

it could affect the db if not handled correctly 

What test are required ?


make sure that app doesn't crash in this case and db is intact
´´´