track-extension
track-extension copied to clipboard
fix(popup): Fix main ui update delay
Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?
This PR makes the main popup UI update right after user presses "Done". That way the UI is already up to date when returning to the main view.
The main issue with duration was that it had a timer and when returning to main view the timer would still work and wait 1 second to update. I added another render call just before starting the interval timer.
:bug: Recommendations for testing
All changes should be tested across Chrome and Firefox.
- Start timer
- Edit entry description and duration
- Press "Done"
- Check if the data is updated right away without delay
:memo: Links to relevant issues or information
closes #1503