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

1710 saving new project bug #1732

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Conversation

Jonathanko52
Copy link
Member

Fixes #1710

What changes did you make?

modified the "navigate away" line on save for new projects to point toward a different variable.

Changed the check for the popup modal to NOT trigger if the page the user is navigating away from is has a project id of 0.

Why did you make the changes (we will use this info to test)?

When navigating to a new path on save, the navigation function now grabs the correct page number, so it should navigate users back to the same page they saved on, rather than a "N/A" page number.

The popup modal was triggered by url change from a project with no id number (such as from a new project) to a project with an id number. I set the modal to not trigger if the first url had no project id number.

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied ![image](https://github.com/hackforla/tdm-calculator/assets/30099154/d8084304-fca1-431b-9bac-fd11574ba422)

image

@Jonathanko52 Jonathanko52 merged commit 22f8549 into develop Jun 13, 2024
2 checks passed
@Jonathanko52 Jonathanko52 deleted the 1710-Saving-New-Project-Bug branch June 13, 2024 03:01
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.

Bug: Saving New Project Issues.
1 participant