diff --git a/public/javascripts/vue-apps.js b/public/javascripts/vue-apps.js index c248503..c7d65f2 100644 --- a/public/javascripts/vue-apps.js +++ b/public/javascripts/vue-apps.js @@ -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}`) + } } }) },