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

Implemented: toast and button disabling in case of invalid CSV upload (#85zrv53ft) #208

Merged
merged 3 commits into from
Apr 18, 2023

Conversation

alsoK2maan
Copy link
Contributor

@alsoK2maan alsoK2maan commented Apr 3, 2023

Related Issues

Closes #204

Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

Screencast.from.03-04-23.06.04.42.PM.IST.webm

IMPORTANT NOTICE - Remember to add changelog entry

Contribution and Currently Important Rules Acceptance

showToast(translate("No new file upload. Please try again"));
}
} catch {
this.file = this.content = {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we are making file empty? Also this.content should be an array as we are checking for its length.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, sir. Making this.file empty is not required. Also, updated this.content to be an array now.

@adityasharma7 adityasharma7 merged commit 02f9f46 into hotwax:main Apr 18, 2023
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.

Unable to see the field mapping options after uploading a file on inventory page
4 participants