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

feature/1464 - Fix confirmation dialog getting activated multiple times when more than one table on page. #2058

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

sasha-dresden
Copy link
Contributor

Issue: FECFILE-1464

The underlying problem was that the refactored Table component had a Confirmation Dialog inside of it. Which was fine if there was only ever a single table on the page or if you didn't want to style it. This was a problem for the Table List page as we had 3 tables on the page, leading to all three triggering an instance of the Table's Confirmation Dialog.

To fix this I removed the Confirmation Dialog from the Table and placed a default/fallback instance of the Confirmation Dialog at the top App level. Now, there would only be one instance. I also added a key to the Confirmation Dialog on the Table List page so it would specifically open that version, which has the correctly customized footer.

@mjtravers mjtravers merged commit e7cbc25 into develop Jul 25, 2024
4 checks passed
@mjtravers mjtravers deleted the feature/1464 branch July 25, 2024 22:25
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.

2 participants