Skip to content

Commit

Permalink
Adds a notice on page once graph has been uploaded, is not a final fi…
Browse files Browse the repository at this point in the history
…x get function from other module to change button #15
  • Loading branch information
Forest-biotech-lab committed Mar 8, 2024
1 parent 6248bc3 commit 80aed13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/javascripts/vue-apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function mainApp() {
contentType: false,
data: formData,
success: (data, textStatus, jqXHR) => {
console.log(data)
if (data.statusText === "OK") {
displayToast(`Uploaded Graph`, `Graph: ${data.statusText}`)
}
}
})
},
Expand Down

0 comments on commit 80aed13

Please sign in to comment.