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 logic to display the first facility selected and upload file with the original file name(#23ek494) #21

Merged
merged 5 commits into from
Oct 7, 2022

Conversation

disha1202
Copy link
Contributor

No description provided.

@@ -107,6 +107,8 @@ export default defineComponent({
if(this.file){
showToast(translate("File uploaded successfully"));
this.parseFile();
console.log(this.file.name);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we missed a console log

@@ -258,7 +259,7 @@ export default defineComponent({
"idType": "SKU"
}
})
const fileName = "Upload_PO_Member_" + Date.now() +".json";
const fileName = this.fileName.replace(".csv", ".json");
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should check if we are resetting the value on page unload

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are updating the file name, when uploading PO CSV.

@adityasharma7 adityasharma7 merged commit 85c8b09 into hotwax:main Oct 7, 2022
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