Skip to content

Commit

Permalink
Merge pull request #870 from NFDI4Chem/issue-#858
Browse files Browse the repository at this point in the history
fix: clear error message
  • Loading branch information
CS76 authored Oct 16, 2023
2 parents ef1582b + 340b69b commit e789231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/Pages/Study/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ export default {
this.emitter.emit("openStudyDetails", {});
},
loadSmiles() {
this.errorMessage = "";
if (this.smiles && this.smiles != "") {
try {
let mol = OCL.Molecule.fromSmiles(this.smiles);
Expand Down
1 change: 1 addition & 0 deletions resources/js/Shared/Submission.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2213,6 +2213,7 @@ export default {
},
loadSmiles() {
this.errorMessage = "";
if (this.smiles && this.smiles != "") {
try {
let mol = OCL.Molecule.fromSmiles(this.smiles);
Expand Down

0 comments on commit e789231

Please sign in to comment.