HSLdevcom / HSLdevcom/digitransit-ui
Adding a work place hides the 'Add home' button and instead shows another 'Add home' button
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 267
- Forks
- 145
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 75
Description
When I add a work place, the add home button disappears and only another 'Add work' button is shown
How to reproduce:
- Click on Add work and add an address
- Check the buttons shown

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by adding a work address and inspecting the resulting Add home and Add work buttons. Locate the UI entry point that renders these address controls, then verify that Add home remains available and only the appropriate Add work control is shown after the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100