oss-slu / esp

MIT License
0 stars 5 forks source link

Fixed Issue 93 #112

Open Lyskawa-Aonyx opened 1 week ago

Lyskawa-Aonyx commented 1 week ago

Fixes #93

What was changed? -Many lines in the DraftOrcaDashboard.js file were changed to fix the issue.

Here, describe what part of the application you changed (e.g. login page, database, etc.). If possible, mention what specific components were added, removed, or modified. -The way the program passes a payload from the front end to the backend was changed.

Why was it changed? -There was an error in the payload that was being passed to the backend that needed to be fixed to properly work. -Currently, the UI improvement is in progress, and on providing the Specify Lines value through the UI in /temp route, the system incorrectly interprets the value as [object Object] instead of the provided value. The system should display the chosen value of the dropdown followed by the specified line value if applicable.

How was it changed? -I changed the specify_lines: specifyLines function to work properly with added functionality. -I also changed setSpecifyLines([{ value, showInput: value === "FIRST" || value === "LAST", lineNumber: "" }]); to add the lineNumber section.

Here, get into detail about what files you modified, and talk about the most important lines in regards to fixing the issue. -The only file I changed was DraftOrcaDashboard.js