Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDS-5049]fix tsf mapping null error #2839

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

asinn134
Copy link
Collaborator

@asinn134 asinn134 commented Dec 8, 2023

Objective

MDS-5049

-There was an null error occurring when TSF page was opened in the test environment.

-The error was due to my recent merge not having all the up to date changes in the develop branch, so for example in my branch I had something like this renderActionsColumn(newTSFActions) when it should be renderActionsColumn({ actions: newTSFActions })

-Also did some small refactor in the TSF section

@@ -173,6 +173,7 @@ export const NOTICE_OF_DEPARTURE_STATUS_VALUES = {
determined_non_substantial: "determined_non_substantial",
determined_substantial: "determined_substantial",
withdrawn: "withdrawn",
self_authorized: "self_authorized",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed this was missing and causing an error in mds\services\core-web\src\components\modalContent\NoticeOfDepartureModal.tsx line 203. I just added this here not sure if anyone has anymore context or if this is the correct string value to set for this?

@asinn134 asinn134 merged commit e761c66 into develop Dec 8, 2023
9 checks passed
@asinn134 asinn134 deleted the mds-5049-fix-tsf-mapping-null-errors branch December 8, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants