fix: keep change request type in table #8849
Merged
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.
About the changes
No matter if you go back to the closed change requests from the change request itself or when you navigate to change requests table from the nav we should always remember your last selection of the change request type tab. What it means is that we check query param first and then local storage what was the last change request type (open | closed) selected.
![Screenshot 2024-11-25 at 13 14 52](https://private-user-images.githubusercontent.com/1394682/389521713-76561adc-0b3b-4e08-9282-305a50a7ab5c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzYzNjUxMTIsIm5iZiI6MTczNjM2NDgxMiwicGF0aCI6Ii8xMzk0NjgyLzM4OTUyMTcxMy03NjU2MWFkYy0wYjNiLTRlMDgtOTI4Mi0zMDVhNTBhN2FiNWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDEwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAxMDhUMTkzMzMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjQ3ZmZlYTAxN2JiOWYyOTAxZDM2ZjVhNDY4NzUxNTJmNmIyYTFkOGQwODZlMmI0YTkxZmE4OWFjZGYzNDE1ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.0hiLRKwuJgLXV1jwGX73Uei7sU1WDxm7plfuYnh7hBQ)
Important files
Discussion points