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

fix: display an alert if the import is successful #1916

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

davidbgk
Copy link
Contributor

Fix #1913

if (this.format === 'umap') this.full()
else if (!this.url) this.copy()
else if (this.action) this[this.action]()
let hasErrors = false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not fully convinced by that approach but I couldn't find a clever way to only display the successful message in case there is no error during the potential imports.

@davidbgk davidbgk merged commit f78320d into master Jun 20, 2024
4 checks passed
@davidbgk davidbgk deleted the 1913-alert-on-import branch June 20, 2024 13:59
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.

Getting feedback when I click on the Import data button
1 participant