Luis Fix project update speed on user profile and on time-log #1496
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Related PRS (if any):
This frontend PR is related to the #596 backend PR.
…
Main changes explained:
On the backend I added a check to remove cache.
The issue was the backend was sending back old cache instead of clearing it when a project was added.
Hence it was sending old data.
The change occurs in
ProjectController.js
inside of theassignProjectToUsers()
when mapping over each element cache is checked if so it removes it and adds the user.How to test:
npm run install
and thennpm run start
Screenshots or videos of changes:
Screen.Recording.2023-11-05.at.7.09.11.PM.mov
Screen.Recording.2023-11-05.at.7.25.40.PM.mov
Note:
Include the information the reviewers need to know.