Describe the bug
Upon first landing on the main ERP page after completing the signup process, an "undefined" value is displayed in a specific dropdown menu.
To Reproduce
Steps to reproduce the behavior:
Register for the live cloud application.
Confirm your email address via the verification process.
Navigate to the main ERP page and select the dropdown "Add new Branch"
Expected behavior
The dropdown must display a list of branches. If no branches are available, ensure the dropdown only attempts to show the list if branch.length > 0
Screenshots
Desktop (please complete the following information):
OS: Macos
Browser Chrome
Version 127.0.6533.120
Additional context
This issue is specific to the first time a user accesses the main ERP page immediately after completing the signup and email verification steps. If the user logs in again afterward, the dropdown behaves as expected.
Describe the bug Upon first landing on the main ERP page after completing the signup process, an "undefined" value is displayed in a specific dropdown menu.
To Reproduce Steps to reproduce the behavior:
Expected behavior The dropdown must display a list of branches. If no branches are available, ensure the dropdown only attempts to show the list if
branch.length > 0
Screenshots
Desktop (please complete the following information):
Additional context This issue is specific to the first time a user accesses the main ERP page immediately after completing the signup and email verification steps. If the user logs in again afterward, the dropdown behaves as expected.