fix(ui): ensure proper visibility toggle for device change and login steps

- hide login step and show device change option when switching to device change flow
- reset ui to show login step and hide device change elements on form reset
- update step indicator to skip step 1 when showing device change option
This commit is contained in:
Abner
2025-08-02 00:00:23 +08:00
parent 7559508858
commit 64842b97c4
3 changed files with 31 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ const response = await fetch('https://appapi.simyo.nl/simyoapi/api/v1/sessions',
method: 'POST',
headers: createHeaders(false),
body: JSON.stringify({
phoneNumber: '0613715742',
phoneNumber: '0613123712',
password: 'your_password'
})
});